SoftLayer.email

Email manager

license

MIT, see License for more details.

class SoftLayer.managers.email.EmailManager(client)[source]

Common functions for getting information from the email service

Parameters

client (SoftLayer.API.BaseClient) – the client instance

editObject(identifier, username=None, password=None)[source]

Edit email delivery account related details.

Parameters
  • identifier (int) – The ID of the email account

  • username (string) – username of the email account.

  • email (string) – email of the email account.

  • password (string) – password of the email account to be updated to.

get_account_overview(identifier)[source]

Gets all the Network Message Delivery Account Overview

Returns

Network Message Delivery Account overview

get_instance(identifier)[source]

Gets the Network_Message_Delivery_Email_Sendgrid instance

Returns

Network_Message_Delivery_Email_Sendgrid

get_statistics(identifier, days=30)[source]

gets statistics from email accounts

Days

range number

Returns

statistics Network Message Delivery Account

resolve_ids(identifier)

Takes a string and tries to resolve to a list of matching ids.

What exactly ‘identifier’ can be depends on the resolvers

Parameters

identifier (string) – identifying string

Returns list

update_email(identifier, email)[source]

Edit email address delivery account .

Parameters
  • identifier (int) – The ID of the email account

  • email (string) – email of the email account.