look up the Tango2000 SP1 tag <@CLEARERRORS> you'll want to use it in the error html window so that you can clear the Tango error, set your own variable (<@ASSIGN local$mail_error "yes">) then proceed in logic to determine what to do.
Robert Shubert Tronics Mike wrote: > > Thank you for your response. > > My problem is not that I do not send all messages but that once an > "Unable to connect" error occurs, all logic in that taf file is lost; > all I can do is to display an error page. > This issue does not occur when both servers (email + Tango) are on the > same intranet. Rather, this happens when the Tango server is connected > on the Internet (like when I need to do a demo to a customer site) and I > need to access my email server. > > What I would like to see is that when such an error occurs I can handle > it by logic, on the server, rather than on the client (by interacting > with the browser). It makes sense to be able to do this, since there is > no guarantee that the email server is available. > I know I can do this if I use an external procedure + a text mode email > client or I write a COM or a Java bean; but I just felt that this > feature is too elementary and necessary not to be part of the Witango > Development Studio/Server. > > I am using <@TIMER> to create the 1 second intervals (sorry, I was not > specific in my message on how I did slow down the email sending > process). > > If you know there is a way (using Witango) to solve this problem on the > server, I will really appreciate your advice. > > Thanks again, > Mike. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Robert Shubert > Sent: Friday, November 22, 2002 2:03 PM > To: Multiple recipients of list witango-talk > Subject: Re: Witango-Talk: Mail Server handling > > Here's a logic progression: > > Build a mail queue > Process mail queue, one at a time > If mail sent ok, no error on mail action, remove from queue > If mail not sent, error on mail action, leave in queue > repeat. > > Also, search the web for a COM object that does a wait or pause. Then > you can pause for 1 second between each email. > > Robert Shubert > Tronics > > Mike wrote: > > > > Hello all, > > > > I need help on handling the error resulting from mail action. > > > > I have search for help in tango-talk archive, documentation, etc., > > without success. If this problem was discussed and solved before, > > please accept my apologies. > > > > What happens is that I need to send bulk email and after a 4-5 > > messages sent successfully, I get the following error: > > > > ======================================================== > > Error > > An error occurred while processing your request: > > File: fastMailTest.taf > > Position: Mail > > Class: Internal > > Main Error Number: -321 > > Unable to connect to the specified SMTP sever. mail.keyassets.com > > > > File: fastMailTest.taf > > Position: Mail > > Class: Internal > > Main Error Number: -101 > > General error during data source operation. > > =========================================================== > > > > When I use a timer to slow down the processing speed (for ex going > > down to 1 second/message), I can send them all. I assume that this > > happens because the mail server cannot process mail that fast. > > > > Is there a way to capture the error and retry after a timeout ? > > > > Thank you, > > Mike. > > ______________________________________________________________________ > > __ > > 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
