Skip to content

Use different placeholders in mailer config #6452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use different placeholders in mailer config
The placeholders 'AWS_ACCESS_KEY' and 'AWS_SECRET_KEY' are misleading, given that the AWS documentation explicitly states:
"Your SMTP user name and password are not the same as your AWS access key ID and secret access key. Do not attempt to use your AWS credentials to authenticate yourself to the Amazon SES SMTP endpoint."
Source: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/get-smtp-credentials.html
  • Loading branch information
sblaut committed Apr 10, 2016
commit 2b8cb88b51a2647c1c8cb41047edc79f4ac59c5b
16 changes: 8 additions & 8 deletions cookbook/email/cloud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ and complete the configuration with the provided ``username`` and ``password``:
host: email-smtp.us-east-1.amazonaws.com
port: 465 # different ports are available, see SES console
encryption: tls # TLS encryption is required
username: AWS_ACCESS_KEY # to be created in the SES console
password: AWS_SECRET_KEY # to be created in the SES console
username: AWS_SES_SMTP_USERNAME # to be created in the SES console
password: AWS_SES_SMTP_PASSWORD # to be created in the SES console

.. code-block:: xml

Expand All @@ -57,8 +57,8 @@ and complete the configuration with the provided ``username`` and ``password``:
host="email-smtp.us-east-1.amazonaws.com"
port="465"
encryption="tls"
username="AWS_ACCESS_KEY"
password="AWS_SECRET_KEY"
username="AWS_SES_SMTP_USERNAME"
password="AWS_SES_SMTP_PASSWORD"
/>
</container>

Expand All @@ -70,8 +70,8 @@ and complete the configuration with the provided ``username`` and ``password``:
'host' => 'email-smtp.us-east-1.amazonaws.com',
'port' => 465,
'encryption' => 'tls',
'username' => 'AWS_ACCESS_KEY',
'password' => 'AWS_SECRET_KEY',
'username' => 'AWS_SES_SMTP_USERNAME',
'password' => 'AWS_SES_SMTP_PASSWORD',
));

The ``port`` and ``encryption`` keys are not present in the Symfony Standard
Expand All @@ -96,8 +96,8 @@ And that's it, you're ready to start sending emails through the cloud!
mailer_host: email-smtp.us-east-1.amazonaws.com
mailer_port: 465 # different ports are available, see SES console
mailer_encryption: tls # TLS encryption is required
mailer_user: AWS_ACCESS_KEY # to be created in the SES console
mailer_password: AWS_SECRET_KEY # to be created in the SES console
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

.. note::

Expand Down