Mail Notification Stage

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
allavivek
Premium Member
Premium Member
Posts: 211
Joined: Sat May 01, 2010 5:07 pm

Mail Notification Stage

Post by allavivek »

Hi All,

I was developing a sequence job where mail notification stage should send a mail...

options given were..

mailserver :smtp.gmail.com

senders :xxxxx@gmail.com

receipent :yyyy@gmail.com

I was getting following error...
sequence1..JobControl (DSSendMail): Error when executing command: C:\IBM\InformationServer\Server\Projects\DEMO\sendmail_sequence1_37294114_5720.bat
*** Output from command was: ***
SMTPMail Looking up server...
SMTPMail Opening connection to smtp.gmail.com...
SMTPMail RCV: 220 mx.google.com ESMTP q21sm984973ybk.3
SMTPMail RCV: 250 mx.google.com at your service
SMTPMail RCV: 530 5.7.0 Must issue a STARTTLS command first. q21sm984973ybk.3

Please check any paths in the following command file are correct, and if necessary adjust the 'dssendmail_template.txt' file in the project directory.

Contents of command file:
C:\IBM\InformationServer\Server\DSEngine\bin\dssmtpmail.exe -file sendmail_sequence1_37294114_5720_file.tmp

should i change any thing in dssendmail_template.txt file....

thanks ...
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Re: Mail Notification Stage

Post by kris007 »

Gmail runs on SSL and STARTTLS is a sendmail command to initiate a secure connection and that's exactly what the error message is pointing you to. How about you try emailing to an address within your office network? Try emailing to your workplace email address.
Kris

Where's the "Any" key?-Homer Simpson
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You should be using your internal SMTP mail server, whatever is accessable from the DataStage server.
-craig

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