SendGridEmailHelper Class Reference

Inheritance diagram for SendGridEmailHelper:

Public Member Functions

 init ()
 loadDefaultFromAndToAddresses ()
 setApiSettings ()

Static Public Member Functions

static resolveRecipientAddressesByType ($emailMessage)

Data Fields


Protected Member Functions

 loadApiSettings ()

Protected Attributes


Detailed Description

Helper class consisting of functions related to sending emails using sendgrid.

Definition at line 40 of file SendGridEmailHelper.php.

Member Function Documentation

init (  ) 

Called once per page load, will load up outbound settings from the database if available. (non-PHPdoc)

See also:

Definition at line 93 of file SendGridEmailHelper.php.

loadDefaultFromAndToAddresses (  ) 

Used to load defaultFromAddress and defaultTestToAddress

Definition at line 102 of file SendGridEmailHelper.php.

loadApiSettings (  )  [protected]

Loads api settings.


Definition at line 112 of file SendGridEmailHelper.php.

setApiSettings (  ) 

Set api settings into the database.

Definition at line 142 of file SendGridEmailHelper.php.

static resolveRecipientAddressesByType ( emailMessage  )  [static]

Resolve recipient address by type.

EmailMessage $emailMessage

Definition at line 163 of file SendGridEmailHelper.php.

Field Documentation

$settingsToLoad [protected]
Initial value:

Definition at line 71 of file SendGridEmailHelper.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Nov 16 07:11:07 2019