You can use the same classes and methods to send mail like in ASP.NET.
Simply add a reference to "System.Web.dll" and then copy your code from the
ASP.NET application.
Yes, as Herfried has mentioned, we can use the System.Web.Mail components
in any kind of .net applications without any difference. Just be sure the
specify the correct smtp server. If there is any specific problems or
questions, please feel free to post here. Thanks.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.