Re: IMAP - attachment-information
| From: | (Chris Adams) | Date: | Tue, 23 Jan 2001 16:15:39 +0000 |
| Subject: | Re: IMAP - attachment-information | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36209@lists.php.net to get a copy of this message | ||
On 23 Jan 2001 06:36:02 -0800, Jochen Kächelin <jk@wa-p.de> wrote:
>How can I extract the information
>about email attachments using the IMAP-functions?
Use imap_fetchstructure(). It returns a pretty large array, so you'll probably
want to spend some quality time with the documentation and print_r() getting
all of the details.
One nice thing if you're making a webmail interface is that you won't need to
worry too much about mime-types - those can be passed through to the browser,
which can figure out anything from text/plain to video/quicktime.