Hi,
I started using the IMAP functions and ran into a problem with some headers for attachments.
The first one is:
Content-type: image/psd; x-unix-mode=0644; name=FinalVersion6.psd Content-transfer-encoding: base64 Content-disposition: inline; filename=FinalVersion6.psd
Generated by Mac Mail. The filename wont show up in the result of for example imap_fetchstructure.
The second is:
Content-Type: text/plain Content-Disposition: attachment; filename="Video(019).3gp" Content-Transfer-Encoding: base64
I suspect this one has something to do with the linebreak. It's generated by a modern nokia (7650 I think)
I additionaly found a problem calling imap_fetchbody with a non-existent msg number. This will result in a segfault.
grt, Evert
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php