Re: IMAP attachment download

DINH Viet Hoa <[email protected]> Fri, 7 Apr 2006 10:51:44 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <etPan.44362820.1d5a738e.574a@utopia>
Marko Ivancic wrote :

> I would like to have this functionality becouse the program I'm writting 
> is going to be in a mobile system (in a car) and the user pays the GPRS 
> downloads/uploads.
> 
> So my question is its posible to download the "entire" MIME structure 
> withoute the data attribute in this structure ?

The following call will fetch the MIME structure without downloading the 
content of the MIME parts. Mostly, only the MIME headers will be 
downloaded. Look at the documentation on the website and the examples in 
the source.

int mailmessage_get_bodystructure(mailmessage * msg_info,
                                  struct mailmime ** result);

-- 
DINH V. Hoa,

"Il y a anguille sous roche"
signature.asc (application/pgp-signature, 0 B)