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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top