ZurmoSendGridMailer Class Reference

Inheritance diagram for ZurmoSendGridMailer:
Mailer

Public Member Functions

 __construct (EmailMessage $emailMessage, $emailAccount)
 sendTestEmail ($isUser=true)
 sendEmail ()
 resolveRecipientAddressesByType ()
 setFromUser ($userToSendMessagesFrom)
 setToAddresses ($toAddresses)
 setCcAddresses ($ccAddresses)
 setBccAddresses ($bccAddresses)
 getEmailAccount ()
 getEmailMessage ()

Protected Attributes

 $emailHelper
 $fromUser
 $toAddresses
 $ccAddresses
 $bccAddresses
 $fromUserEmailData
 $emailAccount
 $emailMessage

Detailed Description

Mailer class for Zurmo specific sendgrid functionality.

Definition at line 43 of file ZurmoSendGridMailer.php.


Constructor & Destructor Documentation

__construct ( EmailMessage emailMessage,
emailAccount 
)

Class constructor.

Parameters:
EmailMessage $emailMessage
mixed $emailAccount

Definition at line 66 of file ZurmoSendGridMailer.php.


Member Function Documentation

sendTestEmail ( isUser = true  ) 

Send a test email.

Parameters:
bool $isUser
Returns:
EmailMessage

Definition at line 82 of file ZurmoSendGridMailer.php.

sendEmail (  ) 

Send email.

Definition at line 101 of file ZurmoSendGridMailer.php.

resolveRecipientAddressesByType (  ) 

Resolve recipient address by type.

Definition at line 207 of file ZurmoSendGridMailer.php.

setFromUser ( userToSendMessagesFrom  ) 

Sets from user.

Parameters:
User $userToSendMessagesFrom

Definition at line 220 of file ZurmoSendGridMailer.php.


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