Class MailerAdapter
This class provides a communication layer with the external mailing library in order to isolate the library-specific code.
| category |
System |
|---|---|
| package |
|
__construct(\PHPMailer $mailer, \TrueBV\Punycode $punycode)
\PHPMailerPHPMailer instance.
\TrueBV\PunycodePunycode encoder instance.
send(\EmailInterface $email)
| throws |
If mailer library fails to send the email. |
|---|---|
mailer : \PHPMailer
| var |
|---|
\PHPMailer
punycode : \TrueBV\Punycode
| var |
|---|
\TrueBV\Punycode