EmailMessageHelper Class Reference

Static Public Member Functions

static sendSystemEmail ($subject, $recipients, $textContent= '', $htmlContent= '')
static sendTestEmailFromUser (EmailHelper $emailHelper, User $userToSendMessagesFrom, $toAddress)
static sendTestEmail (EmailHelper $emailHelper, 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 sendTestEmailFromUser ( EmailHelper emailHelper,
User userToSendMessagesFrom,
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

Definition at line 104 of file EmailMessageHelper.php.

static sendTestEmail ( EmailHelper emailHelper,
Array $  from,
toAddress 
) [static]

Send a test email. $from('name' => 'fromName', 'address' => 'fromAddress')

Parameters:
EmailHelper $emailHelper
Array $from
string $toAddress

Definition at line 121 of file EmailMessageHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jul 24 07:10:24 2017