Configure Amazon SES to send email from Moodle.

  1. Access the Amazon SES Console
  • Click Get Started, then enter your Email address.
  • Next, enter your website address in the Sending domain field and click Next.
  • Continue to click Next in the following step.
  • Click Get started.
  • The system will take you to the screen displaying the DNS records to be configured.

FWD

  • Select Get DNS Records FWD

  • These are the DNS records you need to add in your domain management page.

  • Go to your domain management page and select DNS/DNS Management. Here, I use a domain purchased from matbao.net. FWD

  • Create 3 CNAME records as shown in the table below and 1 DMARC record. FWD FWD FWD

  • After adding, wait 10-30 minutes (may take longer depending on DNS).

  • Go back to the Amazon SES interface, select Identities under Configuration to check verification → the domain will change from Verification pending → ✅ Verified. FWD FWD

  1. Get SMTP credentials to configure in Moodle.
  • Access the Amazon SES Console.
  • In the left sidebar, select SMTP settings.
  • Click the Create SMTP credentials button.

FWD

  • Enter a User Name, e.g.: moodle-smtp-user.
  • Click Create user. FWD
  • The system will display SMTP Username and SMTP Password (Click show to copy) or you can download them as a .csv file. FWD
  1. Configure SMTP in Moodle.
  • Go to yourwebsite.io.vn/moodle/admin/search.php to open the admin interface. In the search bar, look for SMTP. FWD
  • Click Outgoing mail configuration. FWD
  1. Test sending email
  • Use the “Support contact” feature to test
  • Access Support Contact via Site administration
  • Enter the email addresses you want to test
  • In the Support availability section, select Available to anyone visiting the site FWD
  • Go to yourwebsite.io.vn/moodle/user/contactsitesupport.php
  • Enter information in the form to send to the email entered in Support contact, then click Send FWD
  • Open the inbox (or spam) of the email you entered. FWD
  • If you receive the email → SMTP via Amazon SES is working.
  • Next, go to yourwebsite.io.vn/moodle/admin/category.php?category=authsettings to enable self-registration for users
  • Find the Common setting section, in Self Registration change from Disable to Email-based self-registration, then click Save Changes at the bottom of the page. FWD
  • On the homepage, click the register button to see the option Create new account. FWD
  1. Create an account and check email.
  • Click the Create new account button
  • Enter your information including verification email FWD
  • After creating the account, you will receive a verification email with a link to click and verify. You have now completed integrating AWS SES into the training