new Dsn('mailgun+https', 'default', self::USER, self::PASSWORD
),
new MailgunHttpTransport(self::USER, self::PASSWORD, null,
$client, null,
$logger),
];
yield [ new Dsn('mailgun+https', 'example.com', self::USER, self::PASSWORD, 8080
),
(new MailgunHttpTransport(self::USER, self::PASSWORD, null,
$client, null,
$logger))->
setHost('example.com'
)->
setPort(8080
),
];
yield [ new Dsn('mailgun+smtp', 'default', self::USER, self::PASSWORD
),
new MailgunSmtpTransport(self::USER, self::PASSWORD, null, null,
$logger),
];
yield [ new Dsn('mailgun+smtps', 'default', self::USER, self::PASSWORD
),
new MailgunSmtpTransport(self::USER, self::PASSWORD, null, null,
$logger),
];
} public static function unsupportedSchemeProvider(): iterable
{ yield [