Hi.
I hv created a mailing application.But i faced one problem that if bychance my server is down/not working and i m sending mail then this mail put into queue instead showing any error???
Plz tell me how can i solve the problem or plz tell me the whole procedure????????????
Mailing Application
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Sam HobbsRank #108 · 20.5K reputationPosted Mar 23, 2011, 1:16 PM EDT
You have not specified how you are sending the mail. Are you sending using SmtpClient? What is the SmtpClient.DeliveryMethod Property? Are you using try/catch? Are your receiving an SmtpException exception? Did you check the StatusCode property of the SmtpException exception?