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

Reply via email to