Monthly Archives: December 2012

Difference between visual studio 2005 and visual studio 2008

Difference between visual studio 2005 and visual studio 2008. What are the new feature included in visual studio 2008.

How to use AJAX in ASP.Net 2008

How to use AJAX control in asp.net c#. Use Update Panel and script manager in ajax in asp.net web application.

How to send a formated mail in ASP.Net

Send HTML Formated e-mail in ASP.Net

Send email with ASP.Net is easy task,
If you want to send email with HTML format, you must write this line in code : message.IsBodyHtml = true;

The code for simple send email is belows :

<%@ Import Namespace=”System.Net.Mail” %>

protected void Page_Load(object sender, EventArgs e)
{
//create the email message
MailMessage email = new MailMessage();
//set the from addresses
email.From = new MailAddress(“meeraacademy@hotmail.com”);

//set the to Address
email.To.Add(“meeraacademy@hotmail.com”);

read more