MuleSoft · Email Connector

EMAIL:UNKNOWN_HOST

Short answer

EMAIL:UNKNOWN_HOST means the IP address of the mail host cannot be determined, or the port is out of range. Fix the host name or port in the connection configuration.

VerifiedLast verified

01Error text

MuleSoft error
Error type: EMAIL:UNKNOWN_HOST

02Likely causes

  • The IP address of a host cannot be determined or a port is out of range.

03How to fix it

  1. Check the host value for typos and confirm it resolves from where the Mule app runs.
  2. Check that the port is a valid port number.
  3. Turn on connector logging: in log4j2.xml add <AsyncLogger name="org.mule.extension.email" level="DEBUG" />.
  4. For protocol detail, add <email:property key="mail.debug" value="true" /> to the IMAP or SMTP connection element.
  5. Handle the failure with an error handler of type EMAIL:UNKNOWN_HOST.

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.