email sent or not?http://forums.asp.net/t/1805423.aspx/1?email+sent+or+not+Sun, 20 May 2012 05:46:00 -040018054234988282http://forums.asp.net/p/1805423/4988282.aspx/1?email+sent+or+not+email sent or not? <p>Hello Developers&nbsp;</p> <p>PLz fwd me C# code to check whether email has been sent successfully or not ?&nbsp;</p> <p>thanks in advance ...</p> 2012-05-19T19:12:26-04:004988285http://forums.asp.net/p/1805423/4988285.aspx/1?Re+email+sent+or+not+Re: email sent or not? <p>If your SmtpMail.Send(message) method returns no error, it means the email was sent to the SMTP server.</p> <p>If it returns an erros, means something went wrong.</p> 2012-05-19T19:17:29-04:004988429http://forums.asp.net/p/1805423/4988429.aspx/1?Re+email+sent+or+not+Re: email sent or not? <p><span style="color:#000000; font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:18px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff; display:inline!important; float:none">if your<span class="Apple-converted-space">&nbsp;</span></span><code style="margin:0px; padding:1px 5px; border:0px none; font-size:14px; vertical-align:baseline; background-color:#eeeeee; font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; color:#000000; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:18px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">SmtpMail.Send(message)</code><span style="color:#000000; font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:18px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff; display:inline!important; float:none"><span class="Apple-converted-space">&nbsp;</span>method returns no error, it means the email was sent to the SMTP server, then you are out of your jurisdiction, that is how far you can know.</span></p> <p>or</p> <p><a href="http://stackoverflow.com/questions/2888065/how-to-know-whether-i-send-the-email-successfully-using-system-net-mail">http://stackoverflow.com/questions/2888065/how-to-know-whether-i-send-the-email-successfully-using-system-net-mail</a></p> 2012-05-20T05:21:54-04:004988448http://forums.asp.net/p/1805423/4988448.aspx/1?Re+email+sent+or+not+Re: email sent or not? <p>Refer these</p> <p><a href="http://www.aspsnippets.com/Articles/Send-SMTP-Emails-using-System.Net-Class-in-VB.Net.aspx">http://www.aspsnippets.com/Articles/Send-SMTP-Emails-using-System.Net-Class-in-VB.Net.aspx</a></p> <p><a href="http://www.aspsnippets.com/Articles/Send-SMTP-Emails-using-System.Net-Class-in-C.aspx">http://www.aspsnippets.com/Articles/Send-SMTP-Emails-using-System.Net-Class-in-C.aspx</a></p> <p>If you get no error it means email has been sent.</p> <p>&nbsp;</p> 2012-05-20T05:46:00-04:00