Reply to Imap and attachments

Your name:

Reply:


Posted by Evert | Rooftop Solutions on 10/06/15 11:10

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация