mailer()
mailer(string $dsn, bool $exceptions = null) : \PHPMailer\PHPMailer\PHPMailer
Create new PHPMailer instance configured by DSN.
Parameters
| string | $dsn | DSN |
| bool | $exceptions | Should we throw external exceptions? |
Configure PHPMailer with DSN string.