On Thu, 2 Dec 2004, Charles Dorner wrote:
When it is recieved, c-client returns the headers in calls to both
mail_fetch_header and mail_fetch_body when given the section number for the
embedded message. Is this supposed to happen or is there a problem in the
message that I need to reformat
On both questions, you guessed correctly; I was more focused on why the
body was the header+body together. As long as this is the appropriate
behavior from c-client, everything is jolly. I had previously
implemented the obvious hack to just count the header and remove that
prefix from the
To get the first body part of the message text (as in a encapsulated
MIME message), you need to add .1 to the section specifier.
Strange, I thought section numbers worked differently. So then,
assuming that an e-mail has a single embedded message, I would want
section 2 for
On Thu, 2 Dec 2004, Charles Dorner wrote:
Strange, I thought section numbers worked differently. So then, assuming
that an e-mail has a single embedded message, I would want section 2 for
mail_fetch_header and section 2.1 for mail_fetch_body?
If an email consists solely of a single embedded