Page 1 of 1

Send an attachment using DS mail functionality

Posted: Thu May 08, 2003 3:03 am
by hkotze
Hi All

Is it possible to send a file as an attachment using dssendmail or datastage notification stage?

I'm thinking of creating a file as the body of the text containing the information needed to send and include that in the command for the body - using dssendmail. I'm not sure how to do it in the Job sequencing.

Posted: Thu May 08, 2003 7:03 am
by MAT
Hi,

You cannot at this time send an attachement using DSSendMail. If you want an easy way to bypass this, you can put all your data in variables and include it in the body. An another would be to take advantage of the fact that you can execute DOS and UNIX commands to send an email through a simple mail program that allows attachement. I think someone recommended a program for UNIX some time ago, you could do a search about this on the forum.

Regards

MAT

Posted: Thu May 08, 2003 9:47 am
by chulett
mutt - highly recommended!

www.mutt.org

-craig