MuleSoft Send Email Tutorial: Send Email Using Gmail SMTP With Attachment

By | May 29, 2020

MuleSoft AnyPoint Platform provides various components as part of Mail Module for sending and receiving email messages using SMTP, POP3 and IMAP. Sending Emails in Message Flows using Email Connectors is often required as part of different use cases. In this MuleSoft Email Tutorial , I have explained how we can send email with attachment from MuleSoft Message Flows by using Gmail SMTP.

MuleSoft GMail SMTP Send Email With Attachment Video Tutorial

In this video tutorial, I have implemented following sceanrio:

  • A Mule Application is created with REST Service which will receive a file name as query parameter.
  • File will be read from the file system based on provided file name.
  • Gmail SMTP will be configured to Send Email.
  • Email will be sent with file content as an attachment.
  • File Content will be returned in response body as well for HTTP Response to the REST Service.

Watch the tutorial below on YouTube Channel of TutorialsPedia and don’t forget to subscribe to the channel.

 

 

If you have any questions or need any further help, feel free to comment below.

Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

One thought on “MuleSoft Send Email Tutorial: Send Email Using Gmail SMTP With Attachment

  1. swathikrishna

    if we have to send mails daily automatically after job completes then we have to keep that less secure ON in gmail account but its not safe, so our data also wont be safe. Then how to send mails automatically and securely.

    And how we can send mail to outlook. please prepare mail on that also.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *