Cannot connect Drupal SMTP from Acquia to AWS SES

Created on 14 July 2022, almost 2 years ago
Updated 23 February 2024, 4 months ago

We have a Drupal system running on acquia platform and was using smtp for the mail connection. Previously we were using gmail account to sent the mail and was working fine. But now as per the requirement from the client side, we are trying to connect with AWS SES mail system from Drupal using SMTP. But unfortunately that didn't work.

We had enabled the smtp mode on the AWS SES and added an email on the verified mail list. Also created password for smtp. Then we used this credentials in Drupal smtp config form. But mail sending is not working.

The Drupal side, it is showing the connect authentication issue. And on the AWS SES side, we are seeing the bounce mail reports. So we are aware that the connection is not blocked anywhere.

Please find the details that we used in Drupal as part of smtp configuration:

  • - SMTP server: email-smtp.us-east-1.amazonaws.com
  • - SMTP port: 465
  • - Use encrypted protocol: TLS
  • - Enable TLS encryption automatically: On
  • - Timeout: 30
  • - Turn on the SMTP keep alive feature: Checked
  • - Username: smtp username
  • - Password: smtp password
  • - E-mail from address: smtp verified mail id
  • - E-mail from name: Support Team
  • - Allow to send e-mails formatted as HTML: Checked

Any help is appreciated!!

Thanks.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India premshankar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France KarimBou

    I think some domaine name as host don't work for some reason if you put an ip address instead it works ...
    We're having this issue on platformsh for example using the variabe Platfrom_smpt_host which return a long domaine name but if we use the ip address it works fine...

Production build 0.69.0 2024