Html Email

Giganews Newsgroups
Subject: Html Email
Posted by:  Mark Williams (mark@{removethis}skwirel.com)
Date: Mon, 16 Jun 2008

I am using an idpop3 component to read pop3 messages and then save them to a
file. Initilly I was using the component to retrieve the email into a
tstrings object using retrieveraw. This seemed to work well enough for a
couple of years, but then suddenly started to come up with errors that the
maximum string length was exceeded. To overcome this I am not using idpop3
retrieve method to load the message into an idmessage component and then use
the savetofile method. This works okay if the message is plaintext. However,
if the body is in html the body seems to be stripped out during the call to
savetofile.

As usual I suspect I am missing something truly obvious, but have been
unable to find the answer.

Thanks in advance.

Replies