Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

December 17, 2007

Retrieve only the new text from the body, not the whole history…

I’m using Chilkat Email to send emails to our customers. The emails are created with the firms email address, so when they reply to the emails, all of them are collected in one POP3 address.

My problem is that I want to retrieve only the new text from the body, not the whole history. Is there any way to solve this with Chilkat Email?

It depends on how the reply email is structured. If each subsequent response is packaged neatly within it’s own MIME sub-part, then the email.Body property will contain only the new text. However, if the mail client that created a response decides to glob all replies into a single text or HTML body, then there is no formal structure that Chilkat can parse. You’ll have to examine the email(s) to determine if it makes sense to parse the content — with the risk that it may change in the future if the behavior of the email clients or whatever software is producing a reply changes its behavior.

See this blog post for more information:

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.