new Dsn('mailjet+smtp', 'example.com'
),
true,
];
} public static function createProvider(): iterable
{ $logger =
new NullLogger();
yield [ new Dsn('mailjet+api', 'default', self::USER, self::PASSWORD
),
new MailjetApiTransport(self::USER, self::PASSWORD,
new MockHttpClient(), null,
$logger),
];
yield [ new Dsn('mailjet+api', 'example.com', self::USER, self::PASSWORD
),
(new MailjetApiTransport(self::USER, self::PASSWORD,
new MockHttpClient(), null,
$logger))->
setHost('example.com'
),
];
yield [ new Dsn('mailjet', 'default', self::USER, self::PASSWORD
),
new MailjetSmtpTransport(self::USER, self::PASSWORD, null,
$logger),
];