When I try sending a mail from a sequencer job , I get the follwoing error:
----------------------------------------------------------------------------------
Email_Notification..JobControl (DSSendMail): Error when executing command: D:\Ascential\DataStage\Projects\UFL_Test\sendmail_Email_Notification.bat
*** Output from command was: ***
SMTPMail Looking up server...
SMTPMail Opening connection to x.y.com...
SMTPMail Server closed the connection!
Contents of command file:
D:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -server x.y.com -from xyz@chn.y.com -subject "Mail sent!!!" -message sendmail_Email_Notification_file.tmp abc@chn.y.com
----------------------------------------------------------------------------------
I tried the same using DSSendMailTester & I get the following error
------------------------------------------------------------------------------
Arg1 = abc@chn.y.com
Arg2 = xyz@chn.y.com
Arg3 = hi
Arg4 = x.y.com
Arg5 = Mail sent!!!
Test completed.
DSLogWarn called from : DSSendMail
Message to be logged is...
> Error when executing command: D:\Ascential\DataStage\Projects\UFL_Test\sendmail_66327_016.bat
> *** Output from command was: ***
> SMTPMail Looking up server...
> SMTPMail Opening connection to x.y.com..
> SMTPMail Server closed the connection!
>
>
> Contents of command file:
> D:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -server x.y.com -from xyz@chn.y.com -subject "hi" -message sendmail_66327_016_file.tmp abc@chn.y.com
Result = Error when executing external command
------------------------------------------------------------------------------
Can anyone guide me ??
Thanks
Preethi
Error..
Moderators: chulett, rschirm, roy