Sending Email through after job subroutine on Windows pf

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
rroy2
Participant
Posts: 21
Joined: Thu Jan 03, 2008 4:16 pm

Sending Email through after job subroutine on Windows pf

Post 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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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?
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Why not use the notification activity ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply