Is there any method konw how a mail send successful when use SmtpClient?

  • Thread starter Thread starter Kevien Lee
  • Start date Start date
K

Kevien Lee

Hi,
When use the SmtpClient class,it is easy to send an e-mail,but how to
konw that if the mail send successful,such as timeout and so on?
can anyone advice me?

Thanks
 
Define "successful." Sending an email is indeed easy. Making sure it gets
where it's going is impossible. The message is often passed from one SMTP
server to another, and there is no rule that the POP3 server that eventually
receives it must notify the sender that it has been received. In addition,
the POP3 server may delete it if it is configured to do so, or the client
may delete it, or the user may ignore or delete it. Your only assurance that
the email has been received is if the recipient voluntarily sends a receipt
or a response.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

The shortest distance between 2 points is a curve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top