On Fri, 2009-04-03 at 17:37 +0400, Konstantin Lepa wrote:
> I fixed the problem and I created another :-)
> 
> I removed header "Subject" and added "X-DSPAM: test value\n\n". Now,  
> problem is message_get_header_size in create_stream_for_msgbody. It  
> returns 0 :-( I don't know how to extract message body properly. Help  
> me to understand usage of struct message_size.

Header comes first in the input stream, then body. So call
message_get_header_size() first and message_get_body_size() next.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to