Mailer.exe in data services

Dear Frnds,

I would like to make use of MAILER.EXE to send mail with attachment to the set of users.

Following code works fine in cmd prompt and the mail is deliverable with no errors.

mailer.exe -t’sunildirasanchu@gmail.com’ -v .

I created a bat file with the above script and i tried to execute the bat file using script.

But it is throwing the following error.
"
Function failed to execute program <C:\Program Files\Business Objects\BusinessObjects Data Services\bin\MAIL.BAT>RUN-050306 2/1/2007 7:04:59 PM Program terminated with exit code <160117>. "

Please throw me out of this problem.

Many thanks in advance.

Regards,
Dirasanchu


dirasanchu (BOB member since 2009-05-12)

Remove ‘.exe’ extension and try…

mailer -t’sunildirasanchu@gmail.com’ -v


gssharma :india: (BOB member since 2006-10-30)

Dear Sharma,

Thanks for the post.
I tried by removing .exe in the bat file.

Again I got the following error

"
Function failed to execute program <D:\Program Files\Business Objects\bin\MAIL.BAT>. Program terminated with exit code
<160111>.

"

Please comment.

Thanks,
Dirasanchu


dirasanchu (BOB member since 2009-05-12)

Could you post your batch script? and wanted to know how you’re calling that in DI.


gssharma :india: (BOB member since 2006-10-30)