Page 1 of 1

How to rectify this error

Posted: Mon Dec 16, 2002 1:29 am
by sankar18
Hi All,

I am trying to send mail from transform, The function DSSendmailTester function is taken from routine and placed it in the derivation of the new column. while executing of the job, I am getting this error
____________________________________________________________________
The following tokens in the 'dssendmail_template.txt' file have not been set in the call to DSSendMail: %to%,%from%,%server%
____________________________________________________________________

The OS of the system is a Winnt.

How to Send a mail using the function DSSendmail
Explain the steps in detail.

Thanks in advance
T Sankar




Edited by - sankar18 on 12/16/2002 07:06:02

Edited by - sankar18 on 12/16/2002 23:24:07

Posted: Tue Dec 17, 2002 5:15 pm
by ray.wurlod
You need to specify five arguments for DSSendMailTester; have you done so? Explore the Routine in detail in Manager; there are a few hints there. To call the DSSendMail() function these five arguments need to be loaded into a dynamic array.
Do you really want to send mail for every row processed? Would it not be better to create a Sequence with a Notification activity?

Edited by - ray.wurlod on 12/17/2002 17:18:15

Posted: Wed Dec 18, 2002 10:16 pm
by sankar18
Thanks Ray.
DSSendmail is working great.