All Data Structures Functions Variables Pages
Static Public Member Functions
EmailMessageHelper Class Reference

Static Public Member Functions

static sendSystemEmail ($subject, $recipients, $textContent= '', $htmlContent= '')
 
static processAndCreateTestEmailMessage (Array $from, $toAddress)
 

Detailed Description

Definition at line 37 of file EmailMessageHelper.php.

Member Function Documentation

static sendSystemEmail (   $subject,
  $recipients,
  $textContent = '',
  $htmlContent = '' 
)
static

Send system email message

Parameters
string$subject
array$recipients
string$textContent
string$htmlContent
Exceptions
NotSupportedException

Definition at line 47 of file EmailMessageHelper.php.

static processAndCreateTestEmailMessage ( Array  $from,
  $toAddress 
)
static

Send a test email from user. Can use to determine if the SMTP settings are configured correctly.

Parameters
EmailHelper$emailHelper
User$userToSendMessagesFrom
string$toAddressSend a test email. $from('name' => 'fromName', 'address' => 'fromAddress')
EmailHelper$emailHelper
Array$from
string$toAddressProcess and create email message. Used for testing outbound setting, and outbound job
array$from
string$toAddress
Returns

Definition at line 143 of file EmailMessageHelper.php.


The documentation for this class was generated from the following file:
Generated on Sun May 31 2020 07:10:45