Email Connector in Mule 4.0

ICYDK: Step 1: Create a New Mule Project named SmptDemo

* Drag and drop an HTTP Listener Connector to get the request for your service and set the host and port numbers. Here, the host is set to mule4.eaiesb.com and port to 9098 and after configuring, test the connection successfully will specify port is in use or not.
* Set the URL path for your email service: / and get the message in the body field of your response property.
* By default Mule 4.0 doesn’t have the email Module so in Mule palette click on +Add Module and add the email extension from the list and finish it.

Step 2: Add the Extension and Verify the Following in the Palette 

* The earlier Mule version has three different connectors for mail like IMAP, POP3, and SMTP, but the Mule 4.0 version has a single email module that has different operations like Delete, Send, List pop 3, List imap as shown below:

Step 3:

Drag the email connector onto the canvas and configure the SMTP settings. Here, the configuration is Host: smtp.gmail.com , Port: 587 , User: muletest@eaiesb.com and password details of the SMTP as shown: https://goo.gl/E3nGPr #DataIntegration #ML