My ultimate aim is to connect CiviCRM to AWS SES using Airmail. As a preliminary step, I've set up the SMTP credentials in AWS SES and confirmed they are working correctly using this SMTP Test Tool. Below is the output from the tool, and I do indeed receive the test email in my inbox.

enter image description here enter image description here

However, when I enter the same credentials in CiviCRM a "connected refused" error occurs.

enter image description here

The contents of the log file is also shown below.

enter image description here

How can I overcome this error within CiviCRM? In case it's relevant, I'm running on a Shared Host provided by CiviHosting. My CiviCRM version is 5.55.2 and my WordPress version is 6.1.1.

1 Answer 1


Check this blog post: https://civihosting.com/blog/outgoing-smtp-on-civihosting/

It says you need to explicitly tell them if you want to connect to an external smtp server.

  • Thank you so much. That did the trick!
    – gillenpj
    Commented Feb 9, 2023 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.