Menu

#61 1.16b adds "memory junk" to an html mime part

open
nobody
5
2013-01-13
2003-04-04
No

1.14 and 1.15 handle the encoding of "html mail"
correctly, but I notice that 1.16b adds extra stuff
(seemingly out of memory) to the end of the html, as
though some buffer were sized on regular boundaries
rather than the size of the actual html file. The
encoding part of my code looks like this:

TIpMailMessage *m;
m=smtpClient->Message;

m->EncodeBodyStrings( mPlainText, "" );

m->ContentType="multipart";
m->ContentSubtype="mixed";

TIpMimeEntity* mimeE=m->GetBodyHtml( true );
mimeE->EncodeBodyStrings( mHTMLText, "" );
mimeE->ContentDispositionType="inline";

m->EncodeMessage();

Thank you!

Discussion


Log in to post a comment.