Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: DartMail and HTML
horst
ruppert@staware.com

From: Starnberg, Germany
Posts: 34
Member Since: 11/23/04
posted May 7, 2008 2:58 PM

Hello Support,

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() );

Gretings
Horst
Jason Farrar (Admin)

From: USA
Posts: 223
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 2.9.2.0.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX