Aws ses mails with cuba-platform

Was anyone able to configure correctly AWS SES in the platform ?

Kind regards,
Gent

Hello!

To integrate AWS SES with a CUBA-based application you have to do few steps:

  1. Create AWS SES SMTP Credentials on the SMTP Settings page in the SES Management Console

smtp_credentials

  1. Verify Email Addresses or Domains in the SES Management Console

  2. Add the following properties to the app.properties file (core module):

    cuba.schedulingActive = true
    cuba.email.fromAddress = your.address@domain.com
    cuba.email.smtpHost = email-smtp..amazonaws.com
    cuba.email.smtpPort = 25
    cuba.email.smtpStarttlsEnable = true
    cuba.email.smtpAuthRequired = true
    cuba.email.smtpUser = smtp-user
    cuba.email.smtpPassword = smtp-password

You can get a value for the cuba.email.smtpHost property on the SMTP Settings page in the SES Management Console.

smtpUser and smtpPassword are in the file that you are able to download while creating SMTP Credentials. Please take a look at this documentation page: Using Credentials With Amazon SES.

Best regards,
Daniil.

1 Like