Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Help for SES users + some information about Gmail and DNS configuration.
NyanKiyoshi1da4e670f90e
diff --git a/docs/guides/email_integration.rst b/docs/guides/email_integration.rstindex e7aedb7d39..d82a670e8f 100644--- a/docs/guides/email_integration.rst+++ b/docs/guides/email_integration.rst@@ -6,6 +6,9 @@ Saleor offers a few ways to set-up your email settings over SMTP servers and relThe global, and basic way saleor offers is to set the following ``EMAIL_URL`` environment variable to the target URL,which will contain a straightforward value as bellow examples.+You can customize the sender email address by setting the environment variable ``DEFAULT_FROM_EMAIL`` to your desired email address.+You also can customize the sender name by doing as follow ``Example Is Me <[email protected]>``.+Example Configurations----------------------@@ -22,6 +25,17 @@ Example Configurations========================================================== ================================================================================+.. note::++ If you want to use your personal Gmail account to send mails,+ you need to `enable access to unknown applications in your Google Account <https://myaccount.google.com/lesssecureapps>`_.+++.. warning::++ Always make sure you set-up correctly at least your SPF records, and while on it, your DKIM records as well.+ **Otherwise your mails will be denied by mail servers or intercepted by spam filters in production.**+Sendgrid Integration--------------------@@ -73,10 +87,24 @@ Mailjet IntegrationAfter `adding your domain in Mailjet <https://app.mailjet.com/account/sender/domain#create-domain>`_,you have to set the environment variable ``EMAIL_URL`` as bellow,-but by replacing everything capitalized, with your data, available at this `URL <https://app.mailjet.com/account/setup>`_\.+but by replacing everything capitalized, with your data, available at this `URL <https://app.mailjet.com/account/setup>`_.``smtp://YOUR_MAILJET_USERNAME:[email protected]:587/?tls=True``Then, you have to set the environment variable ``DEFAULT_FROM_EMAIL`` to the email address you want to use as the sender email.Example: ``export [email protected]``++++Amazon SES Integration+----------------------++After having `verified your domain(s) in AWS SES <https://eu-west-1.console.aws.amazon.com/ses/home#verified-senders-domain:>`_,+and set-up DKIM and SPF records, you need to `create your SMTP credentials <https://eu-west-1.console.aws.amazon.com/ses/home#smtp-settings:>`_.++Then, you can use this data to set-up the environment variable ``EMAIL_URL`` as bellow, by replacing everything capitalized, with your data.++``smtp://YOUR_SMTP_USERNAME:[email protected]_AWS_SES_REGION.amazonaws.com:587/?tls=True``++Then, you have to set the environment variable ``DEFAULT_FROM_EMAIL`` to the email address you want to use as the sender email.