MuleSoft · Email Connector
EMAIL:SEND
Short answer
EMAIL:SEND means an exception occurred while trying to send an email. Read the SMTP debug output to see the server's reply.
VerifiedLast verified
01Error text
Error type: EMAIL:SEND02Likely causes
- An exception occurred during an attempt to send an email.
03How to fix it
- Check the Send operation's addresses and content.
- On CloudHub 2.0, also set
forwardConsoleLogToAnypointMonitoring.enable=trueto see SMTP debug output, because it usesjava.util.loggingand not log4j2. - 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:SEND.
04Official documentation
→Related errors
- EMAIL:ATTACHMENTEMAIL:ATTACHMENT means an error occurred while trying to send an attachment. Check the attachment content and type that the Send operation receives.
- EMAIL:AUTHENTICATIONEMAIL:AUTHENTICATION means authentication against the mail server failed. For Gmail with two-factor authentication, use an app-specific password instead of the account password.
- 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.
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