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),
];
yield [ new Dsn('mailjet+smtp', 'default', self::USER, self::PASSWORD
),
new MailjetSmtpTransport(self::USER, self::PASSWORD, null,
$logger),
];
yield [ new Dsn('mailjet+smtps', 'default', self::USER, self::PASSWORD
),
new MailjetSmtpTransport(self::USER, self::PASSWORD, null,
$logger),
];
}