Determine if email can be sent successfully

I work in a mail application in C # and, basically, I need to determine which recipients successfully received the message and which not, regardless of the reason for the rejection.

In general, I need an exception that will be thrown when the email address does not exist, for example. However, SmtpClient.Send does not throw an exception in this case, so I will need to track down delivery failure responses and analyze them, maybe.

I know that this is not an easy task, so I would ask you experts on how to deal with the main problems when sending emails.

Thanks in advance!

+3
source share
3

, , , . .

, , ?

ping-... .. gmail.com, , .

+5

. SMTP. SMTP- , , , .

+4

-. , , , , , , (.., , , , , ).

, , , . , , , , . (.. , , ). , .

LISTSERV. Return-Path. N , , , , .

I'm not sure if there is an easy way to implement this without LISTSERV, but you can look at smtp2web .

0
source

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


All Articles