new Dsn('sendinblue+smtp', 'default', self::USER, self::PASSWORD
),
new SendinblueSmtpTransport(self::USER, self::PASSWORD, null,
new NullLogger()),
];
yield [ new Dsn('sendinblue+smtp', 'default', self::USER, self::PASSWORD, 465
),
new SendinblueSmtpTransport(self::USER, self::PASSWORD, null,
new NullLogger()),
];
yield [ new Dsn('sendinblue+api', 'default', self::USER
),
new SendinblueApiTransport(self::USER,
new MockHttpClient(), null,
new NullLogger()),
];
} public static function unsupportedSchemeProvider(): iterable
{ yield [ new Dsn('sendinblue+foo', 'default', self::USER, self::PASSWORD
),
'The "sendinblue+foo" scheme is not supported; supported schemes for mailer "sendinblue" are: "sendinblue", "sendinblue+smtp", "sendinblue+api".',
];
}