Use port 465 for SES SMTP transport

Fixes #34064
This commit is contained in:
Rimas Kudelis 2019-10-22 16:29:52 +03:00
parent ec8e34f05e
commit 8492e260cb
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class SesSmtpTransport extends EsmtpTransport
*/
public function __construct(string $username, string $password, string $region = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
{
parent::__construct(sprintf('email-smtp.%s.amazonaws.com', $region ?: 'eu-west-1'), 587, true, $dispatcher, $logger);
parent::__construct(sprintf('email-smtp.%s.amazonaws.com', $region ?: 'eu-west-1'), 465, true, $dispatcher, $logger);
$this->setUsername($username);
$this->setPassword($password);