Sending an email using .NET is very easy and is just few lines of code. So not much of a trouble in coding it. But, actual problem starts when one tries to run it and specially on a new / non configured SMTP server. Debugging these few lines can make anyone go crazy as there is not much to do and can take days to be resolved.
Though we have a detailed documentation on MSDN and good examples, I would like to mention here another very good resource for FAQ on sending email - www.systemnetmail.com. This website hosts a detailed FAQ which you comes really handy while resolving email related issues.
In .NET 2.0, we use classes in System.Net.Mail namespace for this purpose and hence the name comes - 'systemnetmail.com'. For .NET 1.1 we had System.Web.Mail and, yes you guessed it, we have www.systemwebmail.com for referring to old style of sending email.
Overall, a nice and handy email FAQ compilation from Dave Wanta.
-
No comments:
Post a Comment