Method |
Description |
|
getError ( ) : mixed |
The different mail sending methods write errors to the error property $this->error,
this method simply returns this error / error array. |
|
sendMail ( $user_email, $from_email, $from_name, $subject, $body ) : boolean |
The main mail sending method, this simply calls a certain mail sending method depending on which mail provider
you've selected in the application's config. |
|
sendMailWithNativeMailFunction ( ) |
Try to send a mail by using PHP's native mail() function. |
|
sendMailWithPHPMailer ( $user_email, $from_email, $from_name, $subject, $body ) : boolean |
Try to send a mail by using PHPMailer. |
|
sendMailWithSwiftMailer ( ) : boolean |
Try to send a mail by using SwiftMailer. |
|