Hello all,

I have one situation other than the normal that I cannot extract/save the
MIME content of an e-mail which Content-type is different than the normal.

When I get attachments that have the following normal structure:

Content-Type: application/x-zip-compressed;
Content-Transfer-Encoding: base64
Content-Disposition: attachment;

It works perfectly. But I some e-mail clients e-mail me somthing like

Content-Type: application/octet-stream;
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
X-MailScanner: Found to be clean

Then, it does not work and the system thinks that the e-mail has NO

This is weird. Since the only difference here is the Content-Type besides
the X-MailScanner and Status in the last lines, could anyone help me handle

Also, is there anyway to get arrays for each of then separately like :
Content-Type, Content-Transfer-Encoding and Content-Disposition?

A regular mail client like Netscape and OutlookExpress can easily see the
attachment but I cannot do it with PHP imap.

This is a difficult question. Does anyone know how to answer it?


Carlos Fernando Scheidecker Antunes
Linux User #207984

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to