Skip to content

Commit

Permalink
minor #6510 use port 587 in Amazon SES example (snoek09)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xabbuh committed Apr 24, 2016
2 parents bbec4cc + 29d7331 commit f42d44c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cookbook/email/cloud.rst
Expand Up @@ -34,7 +34,7 @@ and complete the configuration with the provided ``username`` and ``password``:
swiftmailer:
transport: smtp
host: email-smtp.us-east-1.amazonaws.com
port: 465 # different ports are available, see SES console
port: 587 # different ports are available, see SES console
encryption: tls # TLS encryption is required
username: AWS_SES_SMTP_USERNAME # to be created in the SES console
password: AWS_SES_SMTP_PASSWORD # to be created in the SES console
Expand All @@ -55,7 +55,7 @@ and complete the configuration with the provided ``username`` and ``password``:
<swiftmailer:config
transport="smtp"
host="email-smtp.us-east-1.amazonaws.com"
port="465"
port="587"
encryption="tls"
username="AWS_SES_SMTP_USERNAME"
password="AWS_SES_SMTP_PASSWORD"
Expand All @@ -68,7 +68,7 @@ and complete the configuration with the provided ``username`` and ``password``:
$container->loadFromExtension('swiftmailer', array(
'transport' => 'smtp',
'host' => 'email-smtp.us-east-1.amazonaws.com',
'port' => 465,
'port' => 587,
'encryption' => 'tls',
'username' => 'AWS_SES_SMTP_USERNAME',
'password' => 'AWS_SES_SMTP_PASSWORD',
Expand All @@ -94,7 +94,7 @@ And that's it, you're ready to start sending emails through the cloud!
# ...
mailer_transport: smtp
mailer_host: email-smtp.us-east-1.amazonaws.com
mailer_port: 465 # different ports are available, see SES console
mailer_port: 587 # different ports are available, see SES console
mailer_encryption: tls # TLS encryption is required
mailer_user: AWS_SES_SMTP_USERNAME # to be created in the SES console
mailer_password: AWS_SES_SMTP_PASSWORD # to be created in the SES console
Expand Down

0 comments on commit f42d44c

Please sign in to comment.