Send Emails with Amazon SES and Mendix Email Connector
Introduction
Amazon Simple Email Service (SES) is an email platform that provides an easy way to send and receive email using your own email addresses and domains. Amazon SES also provides SMTP details, which you can configure in the Mendix platform-supported Email Connector to send emails in your app.
Configuring the Mendix Email Connector for Amazon SES
To configure your SES account in the Email Connector in Studio Pro, follow these steps:
-
Get the following details from Amazon SES:
- SMTP hostname
- SMTP username
- SMTP password
For more information, see Obtaining Amazon SES SMTP credentials.
Only email IDs and identities configured under Verified identities, and that are verified for Amazon SES accounts, can be used as sender and receiver. -
Download the Email Connector module and import it into your Studio Pro app. For more information, see Email Connector.
Ensure that you follow the prerequisites listed in the Email Connector documentation. Missing a step might lead to errors. -
Set up the Email Connector. For more information, see Set Up in Studio Pro and Email Account Configuration.
-
On the EmailConnector_Overview page, click Add email account.
-
Enter the following details:
- Email - SMTP username for Amazon SES
- Password - SMTP password for Amazon SES
-
Click Next.
-
Click OK to manually configure your email account.
-
Select the Send emails checkbox, and then enter the following details:
- Protocol - SMTP
- Server host - enter SMTP hostname for Amazon SES
- Server port - any configured STARTTLS port for Amazon SES (for example, 25, 587, 2587, and so on)
- Select Use TLS / Use SSL accordingly
-
Click Finish.