Hey,
I have the following code to send an email:-
MailMessage message = new MailMessage("*******", "*****");
message.Subject = "Enquiry form request";
message.Body = "Please call " + DropDownList1.SelectedValue + " " +
txt_name.Text + ", in the " +
time + " available on " + txt_tel.Text
+ " or " + txt_email.Text +
". Enquiring about " + DropDownList3.SelectedValue +
", regarding the following nursery " +
DropDownList2.SelectedValue + ". Address is " + txt_address.Text +
", " + txt_postcode.Text + ". Any specific enquiry: " + txt_specific.Text + ".";
SmtpClient client = new SmtpClient("*****");
client.Send(message);
But i need to add HTML to this, and want to includes line breaks <BR> and other elements. How can i do this?
Thanks