Class that acts as an interface to email sending operations
package | Default |
---|
__get(string $name): void
string
The property name
__set(string $name,string $value): void
string
The property name
string
The property value
attachFile(string $filename, $fileData): void
string
The name for the file when sent on the email
sendMail(string $senderAddress,array|string $receiverAddress,string $subject,string $message,boolean $htmlMode = false,string $encoding = 'UTF8',boolean $dispositionRequire = false): boolean
string
The addres for the person who sends the email. If you want to set a custom sender name also than the email, use : My custom sender name [email protected]
array|string
The address where the email will be sent, or an array containing a list of adresses where the mail will be sent
string
Title for the message to send
string
Message body
boolean
Enable when sending html content. Disabled by default
string
The charset that is defined when sending the email. MailManager::UTF-8 by default. It is VERY important to make sure that the subject and message parameters are passed with the same encoding as the one defined here, otherwise strange characters will appear on the received email.
boolean
Request notification when the email is read by the receiver. False by default
boolean
True if the mail was queued to be sent (does not mean it will reach its destination), False if the mail could not be delivered.