Page 1 of 1

Sending Email through after job subroutine on Windows pf

Posted: Wed Jul 29, 2009 12:36 am
by rroy2
Hi,

I have to write an after job subroutine to send emails with attachments. DSSendMail can take care of this but my code is on Windows platform.

Hence could someone please tell what are the prerequisites required to send emails from datastage when on windows platform (like configuring any SMTP server etc) Also will DSSendMail work in that case or do we have another function for windows.

Thanks

Posted: Wed Jul 29, 2009 1:30 am
by ArndW
This is a difficult one to answer from DataStage. You should start at the other end, namely from your chosen program used to send mail on Windows. Once you can send a mail with attachments from the DOS command line, implementing it into DataStage should be easy. Which mail program are you using on Windows?

Posted: Wed Jul 29, 2009 1:37 am
by Sainath.Srinivasan
Why not use the notification activity ?

Posted: Wed Jul 29, 2009 6:33 am
by chulett
Use DSSendMail, that's what it's there for, Windows or UNIX. Use DSSendMailTester to makes sure it all works for you and to iron out any kinks.