Previous
Assets
To ensure reliable delivery of emails sent by your Craft CMS, we recommend using Amazon Simple Email Service (AWS SES) as your email server. AWS SES offers high deliverability and scalability for sending transactional emails, such as password resets, notifications, and other system-related messages.
Configure the following environment variables in your .env
file for email settings:
CRAFT_TEST_TO_EMAIL_ADDRESS
— The email address used as a testing endpoint for all system emails in development.EMAIL_SYSTEM_ADDRESS
— The email address Craft CMS will use when sending out system emails.EMAIL_SENDER_NAME
— The name that will appear as the sender in system emails, set to 'Overdog'.EMAIL_REPLY_TO
— The email address to use for 'Reply-To' in system emails (optional).EMAIL_PORT
— The port number for the SMTP server, provided by AWS SES.EMAIL_HOSTNAME
— The AWS SES SMTP endpoint hostname.EMAIL_USERNAME
— The SMTP username for authentication with AWS SES.EMAIL_PASSWORD
— The SMTP password for authentication with AWS SES.It is critical to remove or change the CRAFT_TEST_TO_EMAIL_ADDRESS when in production.
To configure your email settings in the Craft CMS control panel:
$EMAIL_SYSTEM_ADDRESS
, which is the address Craft will use to send emails.$EMAIL_REPLY_TO
if you want to use a different address for replies.$EMAIL_SENDER_NAME
, which is the name that will appear as the sender in emails.$EMAIL_HOSTNAME
which corresponds to your AWS SES SMTP endpoint.$EMAIL_PORT
which is the port number provided by AWS SES.$EMAIL_USERNAME
.$EMAIL_PASSWORD
.Remember to adjust these settings according to your AWS SES configuration. Consult the AWS SES documentation for specific details on obtaining your SMTP credentials and configuring your email.