MuleSoft · Email Connector
EMAIL:CONNECTION_TIMEOUT
Short answer
EMAIL: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.
VerifiedLast verified
01Error text
Error type: EMAIL:CONNECTION_TIMEOUT02Likely causes
- The server took too long to reply to a data request.
03How to fix it
- Confirm the mail server is reachable and responsive from where the Mule app runs.
- Review the timeout settings 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:CONNECTION_TIMEOUT.
04Official documentation
→Related errors
- EMAIL:CONNECTIVITYEMAIL: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.
- EMAIL:DISCONNECTEDEMAIL:DISCONNECTED means an error occurred while connecting to the mail store, or the connection was interrupted. Read the JavaMail debug output to see where the session dropped.
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