Skip to content

Commit b2368a4

Browse files
committed
[Mailer] fixed the order of authenticators
1 parent 5f78cd9 commit b2368a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Transport/Smtp/EsmtpTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ public function __construct(string $host = 'localhost', int $port = 25, string $
3838
parent::__construct(null, $dispatcher, $logger);
3939

4040
$this->authenticators = [
41-
new Auth\PlainAuthenticator(),
41+
new Auth\CramMd5Authenticator(),
4242
new Auth\LoginAuthenticator(),
43+
new Auth\PlainAuthenticator(),
4344
new Auth\XOAuth2Authenticator(),
44-
new Auth\CramMd5Authenticator(),
4545
];
4646

4747
/** @var SocketStream $stream */

0 commit comments

Comments
 (0)