Search code examples
amazon-web-servicessmtpamazon-workmail

Unable to Send Emails using Amazon Workmail


I am trying to integrate Amazon Workmail using SMTP (following these instructions https://docs.aws.amazon.com/workmail/latest/userguide/using_IMAP.html). However, keep on getting

535 Authentication credentials invalid 

exception. I have tried various email clients (java), such as simple-java-mail & commons-email but to no avail. Facing similar issue when trying to add AWS Workmail account in Outlook (Windows machine), however, strange enough it works fine in Andriod Outlook App. I have tried by URL encoding the credentials but that didn't solve the problem.


Solution

  • Finally figured it out. It was the password. Make sure the password only contains a-z, A-Z and 0-9 chars only.