<@ASSIGN origninalMAILSERVER VALUE="<@var system$mailserver>" SCOPE="local">
<@ASSIGN configPasswd VALUE="<...your password here...>" SCOPE="User"> <@ASSIGN MAILSERVER VALUE="mail.whatever.com" SCOPE="System">
(do mail action)
<@ASSIGN MAILSERVER VALUE="<@var local$originalMAILSERVER" SCOPE="System">
<@purge name=configPasswd scope=user>
That should work just fine. The TCF file could have an array of possible mail servers to try.
Hope this helps -
Jason
On Friday, February 21, 2003, at 05:03 PM, [EMAIL PROTECTED] wrote:
Yes, I'm doing that now but how to specify a different SMTP server with the Mail Action.
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
_______________________________________________________________________ _
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
-- ____________________________________________________________________
Jason Pamental, President [EMAIL PROTECTED]
Bathysphere Digital Media Services, Inc. http://bathyspheredms.com
____________________________________________________________________
Tel: 401.490.6830 Fax: 401.490.6831 ________________________________________
A North American Distributor for Witango (http://www.witango.us)
Rapid Web Application Development - XML Execution Engine
________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
