Contact Us 1-800-596-4880

Email Connector Examples 1.6 - Mule 4

To fully benefit from using Anypoint Connector for Email (Email Connector), see the following examples to configure the connector.

  • Send Emails and Attachments
    Configure the Send operation to send emails and attachments over SMTP or SMTPS servers.

  • List Emails
    Configure Email Connector and IMAP or POP3 protocols to list emails.

  • Connect to Gmail
    Configure Email Connector and IMAP, POP3, and SMTP protocols to connect to your Gmail account.

  • Trigger a Flow When Receiving a New Email
    Configure the On New Email - IMAP or On New Email - POP3 sources to retrieve all the emails in an IMAP or POP3 mailbox, and generate a new message for each unread email found. Additionally, configure the Delete After Retrieve, Enable Watermark, IMAP Matcher or POP3 Matcher, Attachment Naming Strategy, and Enable Remote Search parameters for these sources.

  • Set Parsing Text File Attachment as Body Message
    Set the system property parsing.text.attachment.as.body to change the behavior of parsing attached text files when the file is the only content in the message.

  • Move Messages Between Folders for IMAP/S Connection Providers
    Configure the Move to folder operation to move messages between folders for IMAP and IMAPS connection providers.

  • Count messages with Email Connector
    Configure the Count messages - IMAP and Count messages - POP3 operations get the total amount of messages in a specified mailbox folder.

View on GitHub