problem with message composing

Marko Ivancic <[email protected]> Tue, 14 Mar 2006 11:52:10 +0100
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hi Mr Dinh

I have problem composing a message. I use the example from 
tests/compose-msg.c
and than with the code

col = 0;
r = mailmime_write_mem(str, &col, mime);

I try to write the mime in str and late send it witch smtp. But the code 
segfaults in

file mailmf_write_generic.c

in the function

mailimf_fields_write_driver(...)  in the for loop .
I think the problem is in build_info->mm_data.mm_message.mm_fields 
filed, but I don't know why :)

Could you please explain me hot to right compose a message and send it.

Tnx,

Marko



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642