From 2b8cb88b51a2647c1c8cb41047edc79f4ac59c5b Mon Sep 17 00:00:00 2001 From: sblaut Date: Sun, 10 Apr 2016 16:33:14 +0200 Subject: [PATCH] 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 --- cookbook/email/cloud.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cookbook/email/cloud.rst b/cookbook/email/cloud.rst index 9b3677094c3..b7401468f62 100644 --- a/cookbook/email/cloud.rst +++ b/cookbook/email/cloud.rst @@ -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 @@ -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" /> @@ -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 @@ -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::