MuleSoft · Email Connector

EMAIL:INVALID_CREDENTIALS

Short answer

EMAIL:INVALID_CREDENTIALS means the username and password parameter consistency check failed. Check that the user and password on the connection are both set correctly.

VerifiedLast verified

01Error text

MuleSoft error
Error type: EMAIL:INVALID_CREDENTIALS

02Likely causes

  • An error occurred during the username and password parameter consistency check.

03How to fix it

  1. Check that the user and the password on the email connection configuration are both provided and resolve to real values in this environment.
  2. Turn on connector logging: in log4j2.xml add <AsyncLogger name="org.mule.extension.email" level="DEBUG" />.
  3. For protocol detail, add <email:property key="mail.debug" value="true" /> to the IMAP or SMTP connection element.
  4. Handle the failure with an error handler of type EMAIL:INVALID_CREDENTIALS.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.