Hi, I plan to use SMTP mail server to send mail in my application. May I know how to verify that the email is successfully send to recipient? Please advice. Thank you.
1. The mail component will throw an exception if the mail has not been sent, and you can then use a Try Catch block to catch that exception.
2. I don't think you can tell on the fly if your message has been delivered to the recipients inbox as the email is relayed via several mail servers on the internet.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.