I want to send an html page saved by the TWebBrowser with the THtmlSMTPCli 
(ICS)

After this line of code:
  HtmlSMTPCli1.HtmlText.LoadFromFile(MailMessageFile);.
when I inspect the content of the HtmlText property, there is a lot of 
strange characteres, and if I send the email comes an blank message

I discovered that the page saved by the WebBrowser is encoded with an 
charset, wich is not supported by the HTMLText property because it is an 
StringList and it only accepts ansi text files,

Creating an plain ansi text file in notepad and pasting the htmlcode and 
sending it, the message displays correctly

My problem is that my cliente will create the html pages using an editor 
that I created using the WebBrowser,

My question is:
  - Is there a way to send these pages with the HtmlSmtpCli component?

Thanks! 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to