Got the answer in http://www.xiscsp.co.uk/ngp
Subject:- Re: email with task scheduler
Author:-Dan Trampler Date:- Sunday March 28, 2004 eMail:[EMAIL PROTECTED] debug
Did you define following TaskConfig parameters?
d ##class(%SYSTEM.TaskConfig).UpdateData("MailServer",yourMailServer)
d ##class(%SYSTEM.TaskConfig).UpdateData("MailTimeZone",yourMailTimeZone)
d ##class(%SYSTEM.TaskConfig).UpdateData("MailReplyTo",yourMailReplyTo)Dan
Nuno Canas wrote:
I think I have everything correct !?
In %SYSTEM.Task I created a new one with this Properties:
<some more like time, date, etc> OutputDirectory="/tmp/" OutputFileame="out.log" EmailOnCompletion="[EMAIL PROTECTED]" EmailOnError="[EMAIL PROTECTED]" EmailOutput=1
The task is running fine. I get the file created in /tmp with the desired content.
The "LastMessage" Property has "Success". Everything is fine, except that the mail never arrives.
Is there any other parameter I'm forgeting.
Cache 5.09 - Redhat Linux 7.3
Thanks. Nuno
