Re: How to send mail from C# form??
Check the System.web.mail; There is a class called MailMessage from which you can send the mail
you can build the email message with properties like from , to , cc , bcc , priority , subject , body etc etc,
Once you built the message, you can use the SMTP mail object to send message you just created.
I will not be posting the code for this here cause others may missuse it. PM me if you want a sample code.
And do you have your own SMTP mail server? are you using this is ASP.NET for winform application?
|