On Friday 22 November 2002 18:58, Ryan Cornia wrote: > 1.) Are there any products or open source projects available that will > que the mail in case the SMTP server is down and re-send it later, > including the possibility of a tomcat re-start before the SMTP server > comes back up? Basically I want a way to insure an automated e-mail is > sent when a person registers, and is not "lost" when the e-mail server > is down.
When a SMTP server accepts an email, it should never loose it. If yours does, replace it . There are a lot of good quality Open Source SMTP servers. Your program should not duplicate a SMTP server. If the SMTP server is down, you should get an exception (I don't know the JavaMail API) and maybe try to connect to a backup mailer. You can never garantee that an email will reach its destination. Maybe the SMTP server of the receipient stores all email in /dev/null, you have no way of knowing and can't do anything about it. If there is an error, the destination SMTP server will normally report an error back to you - for example: the user is unknown - and maybe your application should handle these bounce messages. Welcome to the internet. Sometimes it's a disadvantage that nobody controls it, mostly it's a blessing. Regards, Cees. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
