MuleSoft · Email Connector
EMAIL:DISCONNECTED
Short answer
EMAIL: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.
VerifiedLast verified
01Error text
Error type: EMAIL:DISCONNECTED02Likely causes
- An error occurred during store connecting, or the connection was interrupted.
03How to fix it
- Check that the mail server is reachable and accepts the configured protocol.
- 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:DISCONNECTED.
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: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:ACCESSING_FOLDEREMAIL:ACCESSING_FOLDER means there was a problem accessing an email folder, or the folder does not exist. Check the folder name the operation uses against the mailbox.
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