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 $toAddress Send a test email. $from('name' => 'fromName', 'address' => 'fromAddress')
EmailHelper $emailHelper
Array $from
string $toAddress Process 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:
 All Data Structures Functions Variables
Generated on Wed Jul 17 07:10:57 2019