yield [ new Dsn('mailersend+api', 'default'
),
true,
];
} public static function createProvider(): iterable
{ yield [ new Dsn('mailersend', 'default', self::USER, self::PASSWORD
),
new MailerSendSmtpTransport(self::USER, self::PASSWORD, null,
new NullLogger()),
];
yield [ new Dsn('mailersend+smtp', 'default', self::USER, self::PASSWORD
),
new MailerSendSmtpTransport(self::USER, self::PASSWORD, null,
new NullLogger()),
];
yield [ new Dsn('mailersend+smtp', 'default', self::USER, self::PASSWORD, 465
),
new MailerSendSmtpTransport(self::USER, self::PASSWORD, null,
new NullLogger()),
];