Queue Email Message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If the email server goes down, I won't be able to send messages using
SmtpMail. I'll get a "Could not Access CDO.Message ..." error. Is there a way
to queue the message so that it can be sent out when the system is back
running?

When we use Outlook, the message is queued when the system is down and sent
out when the system is back up.

Thanks!
 
Sun,

That's not to difficult to do. Basically, when you get an error trying
to send, catch it, and store it in a collection somewhere. Then, have a
timer go off and process the items in the queue to see if the server came
back up, or it is successful.

There is no built-in way to do this however.

Hope this helps.
 
Back
Top