Re: attachment from header

DINH Viet Hoa <[email protected]> Sun, 2 Apr 2006 11:14:31 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <etPan.442f95f7.7fd17c4d.1d7c@utopia>
Marko Ivancic wrote :

> It is possible  to get  attachment information (if  the message has an 
> attachment )  from  the message headders. Fo example
> with  the function
> 
> mailfolder_get_envelopes_list(,)  //get the parsed headers

it is not possible.
You need to retrieve the entire MIME structure before telling the use 
whether the user should consider if there are attachments or not.
(note that for example a multipart/alternative part with text/plain 
text/html does not contain an attachment).

-- 
DINH V. Hoa,

"c'est un peu comme les crampons au foot au début t'as des ampoules
    et après non" -- sunZ
signature.asc (application/pgp-signature, 0 B)