Author: i_balagopal | Posted on: 7/14/2008 3:14:05 AM | Views : 430

Hi All,

 I'm sending email through smtp

the Name Spaces is System.Web.Mail :-:-

My code is :-

i:-) System.Web.Mail:-

message.From = balagopal@hotmail.com;
        message.To = balagopal@rediffmail.com;
        message.Cc = balagopal@gmail.Text;      
        message.Subject = "TextMail";
        message.Body = "sample Email";
        message.BodyFormat = MailFormat.Html;
        SmtpMail.SmtpServer = "127.0.0.1";

        SmtpMail.Send(message);

...

Go to the complete details ...