yield [ new Dsn('smtps', 'example.com', '', '', 465,
['peer_fingerprint' => '6A1CF3B08D175A284C30BC10DE19162307C7286E'
]),
$transport,
];
yield [ Dsn::
fromString('smtps://:@example.com?peer_fingerprint=6A1CF3B08D175A284C30BC10DE19162307C7286E'
),
$transport,
];
$transport =
new EsmtpTransport('example.com', 465, true, null,
$logger);
$transport->
setLocalDomain('example.com'
);
yield [ new Dsn('smtps', 'example.com', '', '', 465,
['local_domain' => 'example.com'
]),
$transport,
];
$transport =
new EsmtpTransport('example.com', 465, true, null,
$logger);
$transport->
setMaxPerSecond(2.0
);
yield [ new Dsn('smtps', 'example.com', '', '', 465,
['max_per_second' => '2'
]),