Re: problem with message composing

DINH Viet Hoa <[email protected]> Tue, 14 Mar 2006 12:21:01 +0100
Newsgroups gmane.mail.libetpan.user
Message-ID <etPan.4416a71d.3b6da5e1.496a@utopia>
Marko Ivancic wrote :

> 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.

could you show me the part of the code that does it ?
by the way, you could get the source etpanX and look at 
etpan-message-composer.c :

http://dinh.dyndns.org/~dinh/blog/etpanX-2006-01-02-bis.tar.gz

-- 
DINH V. Hoa,

"Je suis une merde" -- jyb
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBEFqgz7w+pfAWHa3MRAmOAAJ9o9VVGOWzgwQsvk4jz6gkPJiLwbACffJ60
MVac0NEyeQrVlBi6ldSDb40=
=aixJ
-----END PGP SIGNATURE-----