ASP.NET MVC How to Determine if an Email Has Been Received

In my web application, an email with credentials is sent to each newly registered user.

For some reason, Hotmail and some other mail providers do not accept these emails at all (by the way, I send via hMailServer, perhaps you know how to fix it) - they are not included in spam or in the Inbox.

Thus, users leave the page, check mail and receive nothing. They should use a separate page to give another email, which is not cool.

So how can I check if mail has been sent successfully?

Update

I realized that there is no way to do this ...

+3
source share
3 answers

It looks like you are asking if there is a real-time way to check if your user has received a message. If so, I would recommend that you do not continue this path. Although in most cases email delivery seems instant, it could be held for a while until it was delivered to the recipient's mailbox.

+4
source

As for best practice (e.g. creating SPF records), Jeff Atwood has a great article: http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email- through-code.html

, , , , , , , . "/images/something.jpg?id={identify-the-user-and-message-here}" , , , .

+6
+1
source

Source: https://habr.com/ru/post/1755773/


All Articles