Skip to content

Commit f42d44c

Browse files
committed
minor #6510 use port 587 in Amazon SES example (snoek09)
This PR was merged into the 2.3 branch. Discussion ---------- use port 587 in Amazon SES example | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Today I tried to get Amazon SES working using the cookbook recipe from http://symfony.com/doc/current/cookbook/email/cloud.html For some reason port `465` was giving a timeout. Changing it to `587` fixed it. Unless there is a good reason to keep this value I would like to change this port value. Commits ------- 29d7331 use port 587 in Amazon SES example
2 parents bbec4cc + 29d7331 commit f42d44c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/email/cloud.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ and complete the configuration with the provided ``username`` and ``password``:
3434
swiftmailer:
3535
transport: smtp
3636
host: email-smtp.us-east-1.amazonaws.com
37-
port: 465 # different ports are available, see SES console
37+
port: 587 # different ports are available, see SES console
3838
encryption: tls # TLS encryption is required
3939
username: AWS_SES_SMTP_USERNAME # to be created in the SES console
4040
password: AWS_SES_SMTP_PASSWORD # to be created in the SES console
@@ -55,7 +55,7 @@ and complete the configuration with the provided ``username`` and ``password``:
5555
<swiftmailer:config
5656
transport="smtp"
5757
host="email-smtp.us-east-1.amazonaws.com"
58-
port="465"
58+
port="587"
5959
encryption="tls"
6060
username="AWS_SES_SMTP_USERNAME"
6161
password="AWS_SES_SMTP_PASSWORD"
@@ -68,7 +68,7 @@ and complete the configuration with the provided ``username`` and ``password``:
6868
$container->loadFromExtension('swiftmailer', array(
6969
'transport' => 'smtp',
7070
'host' => 'email-smtp.us-east-1.amazonaws.com',
71-
'port' => 465,
71+
'port' => 587,
7272
'encryption' => 'tls',
7373
'username' => 'AWS_SES_SMTP_USERNAME',
7474
'password' => 'AWS_SES_SMTP_PASSWORD',
@@ -94,7 +94,7 @@ And that's it, you're ready to start sending emails through the cloud!
9494
# ...
9595
mailer_transport: smtp
9696
mailer_host: email-smtp.us-east-1.amazonaws.com
97-
mailer_port: 465 # different ports are available, see SES console
97+
mailer_port: 587 # different ports are available, see SES console
9898
mailer_encryption: tls # TLS encryption is required
9999
mailer_user: AWS_SES_SMTP_USERNAME # to be created in the SES console
100100
mailer_password: AWS_SES_SMTP_PASSWORD # to be created in the SES console

0 commit comments

Comments
 (0)