BODYSTRUCTURE BODY.PEEK[HEADER] fetch returning ze - WeOnlyDo Discussion board

BODYSTRUCTURE BODY.PEEK[HEADER] fetch returning ze (wodSmtpServer / wodPop3Server / wodImapServer)

by Eric Dahlvang, Tuesday, August 18, 2009, 20:30 (5577 days ago)

When the client issues a command such as:

[code]
UID FETCH 102 (BODYSTRUCTURE BODY.PEEK[HEADER])
[/code]

There are times that wodImapServer returns zero for the text and html text:
[code]
FETCH (UID 102 BODYSTRUCTURE ( text html ( charset Windows-1252 ) NIL NIL quoted-printable 0 0) BODY[HEADER] {517}
[/code]

The filename is pointing to a valid .eml file that contains the body. And, I am unable to get consistent behavior. Do you have any idea why this would be happening?

Thank you.


Complete thread: