MuleSoft · Email Connector
EMAIL:CONNECTIVITY
Short answer
EMAIL:CONNECTIVITY means a connection to the mail server could not be established. Check the host, port and TLS settings on the connection, then read the JavaMail debug output.
VerifiedLast verified
01Error text
Error type: EMAIL:CONNECTIVITY02Likely causes
- A connection could not be established.
03How to fix it
- Check the host, port and protocol on the email connection configuration.
- Turn on connector logging: in
log4j2.xmladd<AsyncLogger name="org.mule.extension.email" level="DEBUG" />. - For protocol detail, add
<email:property key="mail.debug" value="true" />to the IMAP or SMTP connection element. - Handle the failure with an error handler of type
EMAIL:CONNECTIVITY.
04Official documentation
→Related errors
- EMAIL:UNKNOWN_HOSTEMAIL: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.
- EMAIL:CONNECTION_TIMEOUTEMAIL:CONNECTION_TIMEOUT means the mail server took too long to reply to a data request. Check the server and network before raising timeouts on the connection.
- EMAIL:SSL_ERROREMAIL:SSL_ERROR means the SSL context could not be created, or the TLS context is not configured properly. Review the TLS context on the secure email connection.
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