Hi Larry, Just an idea - I've haven't tested it of course, but using <@CLEARERRORS> and changing <@VAR system$mailServer> you might be able to handle sending to redundant SMTP Servers.
Something like: (do Mail Action - first try) (In your Error HTML Window of the Mail Action - do the following code) <@! -XXX is whatever error code generated by Witango for the unreachable SMTP Server> <@IFEQUAL<@ERROR PART=NUMBER1> -XXX> <@ASSIGN local$trySMTPAgain VALUE="1"> <@CLEARERRORS> </@IF> (IF Action) (expr="@@local$trySMTPAgain = 1") <@! BBBBB is your local Server configPasswd to grant you permission to change Configuration Variables on the fly> <@ASSIGN user$configPasswd VALUE="BBBBB"> <@ASSIGN system$mailServer VALUE="second.smtp.mailserver.com"> (do Mail Action - second try) .... <@! Repeat or Loop if required> Of course I don't know if the system$mailServer Configuration Variable can be played with in this fashion - of if you want to use the Mail Action at all. Just a suggestion. Cheers... Scott Cadillac http://xml-extra.net [EMAIL PROTECTED] VP, Research and Development Plus International Corp. 604-460-1843 [EMAIL PROTECTED] http://www.plusinternational.com Vancouver, BC, Canada Does your company have an Enterprise Information Portal? Check out Salsa at www.plusinternational.com/flash/salsa.htm ----- Original Message ----- From: "Gutman, Larry" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 6:31 AM Subject: RE: Witango-Talk: Multiple SMTP server > I thought about that, but the problem is unintentional outages. The systems > people take care that the SMTP is always live, except for those random > problems that seem to creep up from time to time. The only thing I can > think of then is to run local SMTP servers on each of my Tango servers. > That way they can hold the mail until it can either deliver it to out > primary SMTP server or out to the internet. > > Larry Gutman > > -----Original Message----- > From: Jon Grieve [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 8:23 AM > To: Multiple recipients of list witango-talk > Subject: RE: Witango-Talk: Multiple SMTP server > > > > Ah... that I don't think you can do. > > When you say redundant, do you mean to handle When Mail Servers Die > (starring Sheriff John Brunell ;), or rather that you want to be able to > knowingly turn them on and off without having to reconfigure Witango? > > What I'm getting at is, you could mangle DNS so that Witango always finds a > server because you know to change DNS to 'avoid' the server you're just > about to unplug... > > Jon > > > > > -----Original Message----- > From: Gutman, Larry [mailto:[EMAIL PROTECTED]] > Sent: 23 May 2002 2:11 > To: Multiple recipients of list witango-talk > Subject: RE: Witango-Talk: Multiple SMTP server > > > Yes. I want it to be redundant. > > -----Original Message----- > From: Jon Grieve [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 8:04 AM > To: Multiple recipients of list witango-talk > Subject: RE: Witango-Talk: Multiple SMTP server > > > Larry, > > It appears (I haven't tried to do this) that you can specify a different > mail server on at least a Witango Application basis. I suspect you can > probably do this on a per-Domain basis too -- probably by manually adding > domains to "domains.ini". > > Is that what you mean, or more of a safety net (i.e. try Server A, then B if > A is not available, etc.)? > > Jon > > > > > -----Original Message----- > From: Gutman, Larry [mailto:[EMAIL PROTECTED]] > Sent: 23 May 2002 1:52 > To: Multiple recipients of list witango-talk > Subject: Witango-Talk: Multiple SMTP server > > > Can I have more the one SMTP server defined in my tango configurations? If > so what is the format. > > Thanks > > Larry Gutman > ________________________________________________________________________ > 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
