• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tSendMail + tFileProperties

#1 2009-07-15 11:31:36

damamme
New member
Registered: 2008-08-05
Posts: 5

tSendMail + tFileProperties

Hello,

I try to send a message with the file properties - in the message not in attachment.

I can to do this operation with attachment but not in the message.

Somebody can help me

Bye
(sorry for my english)
A New Talend user

Offline

#2 2009-07-15 11:42:03

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: tSendMail + tFileProperties

Hello
A simple job looks like:
tFileProperties--row1-->tFlowToIterate--iterate-->tSendMail
on tSendMail, get the properties value using global var like this: (String)globalMap.get("row1.basename")

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2009-07-15 12:11:38

damamme
New member
Registered: 2008-08-05
Posts: 5

Re: tSendMail + tFileProperties

Super... Thank you

If I want make a message like :

(String)globalMap.get("row1.basename") (String)globalMap.get("row1.mtime_string")

I need use a separator between strings, but what is the separator AND &&....

Offline

#4 2009-07-15 12:33:28

Morbo
Member
Company: Inserm
Registered: 2009-05-14
Posts: 228

Re: tSendMail + tFileProperties

assuming none of the values are null, you can concatenate strings using the '+' opérator.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tSendMail + tFileProperties

Board footer

Powered by FluxBB