Loading

Email Connector | How to Enable JavaMail Debug Logging for IMAP/SMTP in Mule 4

Julkaisupäivä: Feb 5, 2025
Tehtävä

GOAL

Gather information to debug IMAP/SMTP issues when using Email Connector for Mule 4

Vaiheet

Refer to the documentation Enable JavaMail Debug Logging. Detailed steps are as follows.

To enable JavaMail debugging logging:

  1. Access Anypoint Studio and navigate to the Package Explorer view.
  2. Open your application’s project name
  3. Open the src/main/mule path folder.
  4. Open your Mule app XML file inside the folder.
  5. Add the <property key="mail.debug" value="true"/> to the IMAP or SMTP connection element.
<email:imaps-connection host="..." user="..." password="..." >
    <email:properties >
      <email:property key="mail.debug" value="true" />
    </email:properties>
  </email:imaps-connection>

    6. Deploy the application

NOTE: For Cloudhub 2 SMTP debugs, an extra setting is required to view the SMTP debug logs. 

If you are using Email Connector for Mule 3, refer to How to enable IMAP/SMTP debug in Mule 3.

Knowledge-artikkelin numero

001116413

 
Ladataan
Salesforce Help | Article