I guess you could parse the @@resultset of the mailaction for the error
and use that to determine if you need to retry to another mail server.


Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 21, 2003 1:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Mail Action

Is there another way without having to use <@RELOADCONFIG>? I was 
hoping to be able to specify in the Mail Action a different SMTP 
server than the default one.

Here is the goal in a taf file:

Mail Action1
If error,
    use Mail Action2

The only difference between Mail Action1 and Mail Action2 will be the 
SMTP server. Currently it is pointing to the same mail server 
specified in witango.ini.

Thanks.



>I am assuming you are using v5 :-)
>
><@ASSIGN configPasswd VALUE="<...your password here...>" SCOPE="User">
><@ASSIGN MAILSERVER VALUE="mail.whatever.com" SCOPE="System">
><@RELOADCONFIG>
>@@System$MAILSERVER
>
>
>Ben Johansen - http://www.pcforge.com
>Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
>Authorized MDaemon Mail Server Reseller
>http://www.pcforge.com/AltN.htm
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 21, 2003 1:17 PM
>To: [EMAIL PROTECTED]
>Subject: Witango-Talk: Mail Action
>
>Is there a way to specify a different SMTP server for a Mail action
>in cases where the SMTP server specified in witango.ini is
>down/unreachable?  The <@EMAIL> & <@EMAILSESSION> may do the trick
>but I'm not familiar with these tags yet. Thanks.
>_______________________________________________________________________
_
>TO UNSUBSCRIBE: send a plain text/US ASCII email to
[EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>
>_______________________________________________________________________
_
>TO UNSUBSCRIBE: send a plain text/US ASCII email to
[EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body


________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to