new Dsn('ohmysmtp+api', 'default', self::USER
),
new OhMySmtpApiTransport(self::USER,
new MockHttpClient(), null,
$logger),
];
yield [ new Dsn('ohmysmtp+api', 'example.com', self::USER, '', 8080
),
(new OhMySmtpApiTransport(self::USER,
new MockHttpClient(), null,
$logger))->
setHost('example.com'
)->
setPort(8080
),
];
yield [ new Dsn('ohmysmtp', 'default', self::USER
),
new OhMySmtpSmtpTransport(self::USER, null,
$logger),
];
yield [ new Dsn('ohmysmtp+smtp', 'default', self::USER
),
new OhMySmtpSmtpTransport(self::USER, null,
$logger),
];
yield [ new Dsn('ohmysmtp+smtps', 'default', self::USER
),
new OhMySmtpSmtpTransport(self::USER, null,
$logger),
];
}