Tuesday, January 15, 2013

Sending an Email from Mirth


  1. Create a New channel with a name SendEmail.
  2. Goto source tab.
  3. Connector type -> Channel Reader.
  4. Jump into destination tab.
  5. Connector type -> EmailSender.
  6. SMTP Server Host as smtp.gmail.com .
  7. SMTP Server Port 25.
  8. Secure connection TLS.
  9. USe authentication -> Yes 
  10. Your gmail user name and password.
  11. To Mail ID -> Give some of your other email id.
  12. From -> Give your gmail id.
  13. Finally enter the subject and body of the mail.
  14. Save Channel.
  15. Goto channel tab in leftside,then right click on your SendEmail Channel and deploy it.
  16. Now go to dashboard and right click on your SendEmail Channel and choose send message.
  17. Write something in that window and click process message button.
  18. Refresh over the channel and go to your other mail id ,which you gave in To Mail Id in step 11.
  19. There , you will get the new mail from mirth which you generated.

1 comment:

  1. I tried this one getting error [EmailException: Sending the email to the following server failed : smtp.gmail.com:25]

    How to solve it? Thanks for your help!!!

    ReplyDelete