Skip to content

Commit 9c4fda7

Browse files
committed
minor #6452 Use different placeholders in mailer config (sblaut)
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6452). Discussion ---------- 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 Commits ------- ba047f1 Use different placeholders in mailer config
2 parents 709c0ed + ba047f1 commit 9c4fda7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cookbook/email/cloud.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ and complete the configuration with the provided ``username`` and ``password``:
3636
host: email-smtp.us-east-1.amazonaws.com
3737
port: 465 # different ports are available, see SES console
3838
encryption: tls # TLS encryption is required
39-
username: AWS_ACCESS_KEY # to be created in the SES console
40-
password: AWS_SECRET_KEY # to be created in the SES console
39+
username: AWS_SES_SMTP_USERNAME # to be created in the SES console
40+
password: AWS_SES_SMTP_PASSWORD # to be created in the SES console
4141
4242
.. code-block:: xml
4343
@@ -57,8 +57,8 @@ and complete the configuration with the provided ``username`` and ``password``:
5757
host="email-smtp.us-east-1.amazonaws.com"
5858
port="465"
5959
encryption="tls"
60-
username="AWS_ACCESS_KEY"
61-
password="AWS_SECRET_KEY"
60+
username="AWS_SES_SMTP_USERNAME"
61+
password="AWS_SES_SMTP_PASSWORD"
6262
/>
6363
</container>
6464
@@ -70,8 +70,8 @@ and complete the configuration with the provided ``username`` and ``password``:
7070
'host' => 'email-smtp.us-east-1.amazonaws.com',
7171
'port' => 465,
7272
'encryption' => 'tls',
73-
'username' => 'AWS_ACCESS_KEY',
74-
'password' => 'AWS_SECRET_KEY',
73+
'username' => 'AWS_SES_SMTP_USERNAME',
74+
'password' => 'AWS_SES_SMTP_PASSWORD',
7575
));
7676
7777
The ``port`` and ``encryption`` keys are not present in the Symfony Standard
@@ -96,8 +96,8 @@ And that's it, you're ready to start sending emails through the cloud!
9696
mailer_host: email-smtp.us-east-1.amazonaws.com
9797
mailer_port: 465 # different ports are available, see SES console
9898
mailer_encryption: tls # TLS encryption is required
99-
mailer_user: AWS_ACCESS_KEY # to be created in the SES console
100-
mailer_password: AWS_SECRET_KEY # to be created in the SES console
99+
mailer_user: AWS_SES_SMTP_USERNAME # to be created in the SES console
100+
mailer_password: AWS_SES_SMTP_PASSWORD # to be created in the SES console
101101
102102
.. note::
103103

0 commit comments

Comments
 (0)