tags:

views:

32

answers:

1

I used smtpclient to send emails, but finally i found that some of the emails can not be reached. for example: receiver: [email protected] sometimes, the emails we send to it , and it will receive successfully, but sometimes will not.

at the beginning, I thought it might because that smtp didn't send it successfully, then I use client.sendAsynce, and then add the event handler to handle the SendCompleted event, and i found every emails are sent out successfully, and then we check the smtp server, it really received all the emails and sent out successfully.

So the problem is why sometimes the emails will not be reached successfully, and sometimes will be OK?

+2  A: 

You're forgetting one piece of the puzzle - the client email server. Perhaps the emails are being rejected or flagged as spam?

matt b
but why the client server didn't keep rejected it, instead sometimes it will receive the email!
MemoryLeak