Thursday, March 29, 2012

smtp erorrs

im trying to handle errors reported from Send using the system.web.mail
namespsace. what are the exceptions that cant be returned. cant find the
list.

were haing issues with smtp server rejected certain invalid emails
addresses, what specific exception is that?

SmtpMail.SmtpServer =
System.Configuration.ConfigurationSettings.AppSett ings("SMTPServer")

SmtpMail.Send(smtp)

Return TrueHi sviau,

Thanks for posting in the community!
From your description, you're looking for a list of the errors and
exceptions which is likely occured when using the System.Web.Mail classes,
yes?
If there is anything I misunderstood, please feel free to let me know.

Based on my research, here're a FAQ site which particularly discussing all
the generall questions on the System.Web.Mail namespace's classes,:

#Frequently Asked Questions for System.Web.Mail
http://systemwebmail.com/

And also the FAQ contains the "4 Troubleshooting System.Web.Mail" part
which contains many general namespace or protocal related exceptions on the
System.Web components
#4 Troubleshooting System.Web.Mail
http://systemwebmail.com/faq/4.aspx

Please have a look to see whether they can answer your questions.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi sviau,

Have you got a chance to check out my suggestions or have you got any
further ideas on this issue? If you need further help, please feel free to
post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

0 comments:

Post a Comment