Re: [Dovecot] Check if a message has attachments

2011-01-14 Thread Antoine Nguyen
2011/1/14 Michael M. Slusarz > You should only need the structure for each message, which you can get with > BODYSTRUCTURE command. > Indeed I should be able to achieve what I'm looking for with this command. > > But beware that determination of what is an "attachment" is not so > straight-for

Re: [Dovecot] Check if a message has attachments

2011-01-14 Thread Michael M. Slusarz
Quoting Antoine Nguyen : I'm working on a web based software that provides a simple webmail ( http://modoboa.org/). I'm wondering what would an efficient way to detect if a message (or a group of messages) has attachments. I know it certainly consists in checking for specific MIME constructions

[Dovecot] Check if a message has attachments

2011-01-14 Thread Antoine Nguyen
Hi all, my question is not specific to Dovecot but to the IMAP protocol in general. I'm working on a web based software that provides a simple webmail ( http://modoboa.org/). I'm wondering what would an efficient way to detect if a message (or a group of messages) has attachments. I know it certa