Unless really exceptional loss of connectivity exactly at the time the SMTPSocket contacts the server, all messages are queued automatically and the server itself will take care of resending if the recipient is unavailable.Īt one point, indeed, an atomic bomb may fall on the roof, but I am not sure I need to live in fear because of that.Īll depends what you need to do with the mail. That is precisely why I use the SMTP server from my site. I have always sent email through the existing mail server because I have found rolling your own SMTP connections to be troublesome. If no, why does no one ever seem to recommend using the servers built-in mail sending mechanisms with queues, etc that already exists and are already fully developed? I am curious about this. I have a question about this… What happens if the mail fails to send at that moment (mail server unreachable, DNS failure, mail rejection, etc…)? Is there any built-in mechanism to retry sending the email? Please enter your message before clicking 'Send'.
From the web form I have been using for years :