well...if you wanted to get fancy you could make a .tcf file that you have a
function in...something like domail(address,subject,message) and whatever
else info you needed.

inside of that function call, you try to do an email action, and if theres
and error, it sets the smtp server to the next server in the list, does a
<@RELOADCONFIG> and if theres an error, go to the next server in the list
etc until either you run out of servers or there is no error.  You could
probly do this w/ a while loop.

Whenever you wanted to do an email action, youd have to use the TCF instead,
but it would be a pretty nice setup.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 1:51 PM
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