View Single Post
  #5 (permalink)  
Old November 20th, 2008, 04:12 PM
hdpark hdpark is offline
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I think it's off from my intention. My intention is at following red line.
Thanks,
HD

Dim mySmtpClient As New System.Net.Mail.SmtpClient
theMessage = theMessage.Replace("##ShoppingCart##", GetHtmlFromControl(myGridView))
theMessage = theMessage.Replace("##OrderNumber##", orderId.ToString())

===> Is there any way to convert html formatted message(theMessage) to plain text? <====

mySmtpClient.Send("hdpark@myemail.com", emailAddress, theSubject, theMessage)