• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Send Mail to Multiple Address

#1 2012-05-14 21:56:18

JinMat
Member
Registered: 2011-01-13
Posts: 16

Send Mail to Multiple Address

Someone can help me to use tSendMail if i would send one mail to multiple address?
How can I put multiple address in TO BOX of tsendMail component?

Offline

#2 2012-05-14 22:51:04

phobucket
Member
Company: Knoetry
Registered: 2010-07-27
Posts: 146
Website

Re: Send Mail to Multiple Address

use address1 space ; space address2

ex  "p1@domain1.com ; p2@domain1.com ; p3@domain2.com"

Offline

#3 2012-05-14 23:22:30

JinMat
Member
Registered: 2011-01-13
Posts: 16

Re: Send Mail to Multiple Address

I have something like 14000 address in a db table or in a file delimited how can itarate???

Offline

#4 2012-05-15 23:41:45

phobucket
Member
Company: Knoetry
Registered: 2010-07-27
Posts: 146
Website

Re: Send Mail to Multiple Address

that would be a lot of semi-colons  tongue

This example uses MySQL, but you can modify it for your database.

tMySQLInput_1 -- > tFlowToIterate --> tSendMail

In tFlowToIterate uncheck "Use the default (key, value) in global variables" and create a key called "email_address", that is set to the email address field from your database input.


In the To field of tSendMail use: (String)globalMap.get("email_address")

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Send Mail to Multiple Address

Board footer

Powered by FluxBB