MailMessage objMail =new MailMessage();
objMail.To.Add("venkat@gmail.com");
objMail.Form=New MailAddress("sri@gmail.com");
objMail.Suject="Welcome";
objMail .IsBodyHtml=true;
objMail.Body=<table> <tr> <td>
Name: </td> <td> Venkat: </td></tr></table>
SmptClient objsmpt =new
SmptClient ("smpt.test.com");
Objsmpt.Send(objMail);
No comments:
Post a Comment