Send Emails from domain using Gmail
- Log in to your Gmail account.
- Click the gear icon in the upper-right corner of the page and then click "See all settings."
- Go to the "Accounts and Import" tab.
- In the "Send mail as" section, click on "Add another email address."
- In the window that appears, enter the name and email address you'd like to use as an alias (e.g., "Reports" and "reports@mydomain.com"). Make sure to uncheck "Treat as an alias" if you don't want Gmail to automatically respond using the same address the email was sent to.
- Click "Next Step."
- Now you need to enter the SMTP server information for Amazon SES. Configure the fields as follows:
- SMTP Server: email-smtp.us-east-1.amazonaws.com (replace "us-east-1" with the appropriate region if different)
- Port: 587 (or 465, but 587 is recommended)
- Username: Your SES SMTP username
- Password: Your SES SMTP password
- Check the box for "Secured connection using TLS" (or SSL, if you're using port 465)
- Click "Add Account."
- Google will send a verification email to the address you provided (reports@mydomain.com). This email will be forwarded to your Gmail inbox through the Lambda function you set up earlier. Open the email and click the confirmation link or enter the confirmation code provided. After you've confirmed the email address, you'll be able to send emails from your Gmail account using the "reports@mydomain.com" alias. To do so, click the "From" field while composing an email and select the alias from the dropdown menu.