how to mail a hyperlinks in a simple mailing service
try
{
MailMessage mail = new MailMessage();
mail.To.Add(email);
mail.From = new MailAddress("email_add");
mail.Subject = "New Product Added";
mail.Body = "how to place hyperlinks over here";
mail.IsBodyHtml = true;
if (FileUpload1.HasFile)
{
mail.Attachments.Add(new Attachment(FileUpload1.PostedFile.InputStream, FileUpload1.FileName));
}
SmtpClient smtp = new SmtpClient();
smtp.Host = "smtp.gmail.com";
smtp.Credentials = new System.Net.NetworkCredential("myid", "mypass");
smtp.EnableSsl = true;
smtp.Send(mail);
}
catch (Exception ex)
{
Label4.Text = ex.ToString();
}