|Dart Home | PowerTCP Mail for ActiveX | Custom Development||Reply | PowerTCP Mail for ActiveX Topics | Forums|
|Author||Forum: PowerTCP Mail for ActiveX|
Topic: DartMail and HTML
From: Starnberg, Germany
Member Since: 11/23/04
|posted May 7, 2008 2:58 PM
I got a problem with your control and Html.
I add a part containing UTF-8 encoded HTML.
I can display that HTML quite fine when I simply store that on file.
But after adding it to the mail and storing the mail as EML all umlaut characters not cover in the usual US-coding get whacked.
I'm programming VC6 and
all I do to add it is:
CString strType("text/html; charset=\"ISO-8859-15\"");
if (strHtmlCP.GetLength() )
strType.Format("text/html; charset=\"%s\"", strHtmlCP);
pPartH->GetHeader()->Add(DartMail::msgContentType, strType.AllocSysString(), TRUE);
pPartH->GetHeader()->Add(DartMail::msgContentTransferEncoding, _bstr_t("quoted-printable"), TRUE);
pPartH->PutData(DartMail::msgString, strHtml.AllocSysString() );
|Jason Farrar (Admin)
Member Since: 07/24/07
Extra Support Options
Custom Application Development
|posted June 12, 2008 9:16 AM
I urge you to try the newest trial release of the product as there have been many fixes and specifically many fixes to UTF-8 encodings in version 184.108.40.206.
|Reply | PowerTCP Mail for ActiveX Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|