RE: [PEAR] mimeDecode.php attachments content-id
| From: | Richard Heyes | Date: | Sat, 23 Mar 2002 21:01:55 +0000 |
| Subject: | RE: [PEAR] mimeDecode.php attachments content-id | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1038@lists.php.net to get a copy of this message | ||
> In fact the key content-id is present in the headers array, but
> it has not any
> value... Maybe this comes from the fact that the case "content-id" is not
> present in the following switch (mimeDecode.php). By using print_r on the
> array returned for one attachment that had one content-id set in
> its header
> (by looking at the mail's source) I could find values assigned to
> 'content-type','content-disposition' and
> 'content-transfer-encoding', but not
> for 'content-id' in the array returned by _decode()
Your content-id is probably wrapped in angle brackets, eg <fjsiofhsio>. This
means the browser will probably be interpreting it as a tag. Try viewing
your output in a text editor, not a browser.
--
Richard Heyes
"If you have any trouble sounding condescending,
find a Unix user to show you how it's done." - Scott Adams