[resolved] Sending Log file as an attachment using tsendmail
Hi, I want to send the the logs created by tLogCatcher, tStatCatcher, tFlowMeterCatcher at the end of each job as an "attachment file" using tSendMail. I couldnt figure out how to save the file context.File_StatsCatcher at any destination so i can attach it in the mail. Please help me with this.
Hi What do you mean "context.File_StatsCatcher"? You can link tStatCatcher with tFileOutputDelimited. tStatCatcher --> tFileOutputDelimited Regards, Pedro
Thanks Perdo I got the idea. One last thing, is it possible i create an independent (generic) job like you said above and somehow link it with rest of my jobs so i could get emails for each job. Regards Asif
Hi Asif If you are the user of Talend Integration Suite(Commercial Version), you can create a joblet for this stuff. Then you can add this joblet like a custom component into any new jobs. Regards, Pedro