#1 2010-05-07 15:37:20

Yebach
Member
Registered: 2009-11-16
Posts: 101

[resolved] send mail

Tags: [attachement, mail, zip]

Hello
I want to send mail that includes attachemnt in *.zip
This file in generated with TalendDate.getDate("CCYY-MM-DD")  so it is different every day.
Now when i insert "------/*.zip" for attachement it returns no file found. 
It is the only zip file in that directory
Any suggestions??!?!

thank you

Offline

#2 2010-05-07 17:24:16

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

Re: [resolved] send mail

Hello
You must specify the exact file name, as workaround, you can use the tFileList to iterate the folder and set the current file path in the attachment table. For example:
tFileList_1--iterate---tSendEmail
in the attachment table, set the file path as:((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))

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!

Online

#3 2010-05-10 15:40:51

Yebach
Member
Registered: 2009-11-16
Posts: 101

Re: [resolved] send mail

Thank you

It worked smile

Offline

Board footer

Powered by FluxBB