Saturday 19 January 2013

Talend - send email using tSendMail component





Problem - We want to send email using talend tSendMail component.

Solution - It is very straight forward as the component itself is very easy to use.
All we need to decide is when and where you want to use this component.




Also keep in mind that you can use context variables or globalMap.get() to get tSendMail component settings like To Email, From Email, attachment file names, subject, email body etc.



you need to know your smtp server and also you need to make sure your userid/password which you will be using to send email is registered with your smtp server and authorized to send email.

9 comments:

  1. Hello I would like to know how we can send an attachment through the tsendmail. i have tried it but each timwe instead of getting the atatchment i get a mail content ( something like this:

    Received: from gp-2pm-mxpro02.mediaserv.net (LHLO
    gp-2pm-mxpro02.mediaserv.net) (213.188.172.71) by
    gp-2pm-mxpro02.mediaserv.net with LMTP; Thu, 28 Feb 2013 08:33:22 -0400
    (AST)
    Received: from localhost (localhost.localdomain [127.0.0.1])
    by gp-2pm-mxpro02.mediaserv.net (Postfix) with ESMTP id 95D5C2F6A23D

    ReplyDelete