note 74612 added to function.imap-fetchbody
| From: | phpnetlover at yoz dot us | Date: | Fri, 20 Apr 2007 05:15:26 +0000 |
| Subject: | note 74612 added to function.imap-fetchbody | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125581@lists.php.net to get a copy of this message | ||
Hi everyone
I have been inspecting the RFC's and the answer to what to display is not like Musawir Ali in 2
areas
1- You can not rely on disposition being present, not all mail software composes mail to standard,
and if you would just take a quick look at the RFC's you will find out that someone can send
you email where your solution will fail even though the mail is "within standards"
2- When you are presented with Alternative-multipart, assuming you will find one text-plain and one
text-html, you should NOT be looking for HTML then TEXT, the last mentioned subtype is the most
loyal to the original composition, you check if you can support the last, if not you simply go one
step back and see the one before it, if your client supports it, you take that, and so on, this is
how Alternative works, Just because HTML is best colored does not mean we should chose that, we are
looking for the closest representation of the original and not for any in specific
----
Server IP: 69.147.83.197
Probable Submitter: 212.35.90.253 (proxied: 212.35.90.253)
----
Manual Page -- http://www.php.net/manual/en/function.imap-fetchbody.php
Edit -- https://master.php.net/note/edit/74612
Del: integrated -- https://master.php.net/note/delete/74612/integrated
Del: useless -- https://master.php.net/note/delete/74612/useless
Del: bad code -- https://master.php.net/note/delete/74612/bad+code
Del: spam -- https://master.php.net/note/delete/74612/spam
Del: non-english -- https://master.php.net/note/delete/74612/non-english
Del: in docs -- https://master.php.net/note/delete/74612/in+docs
Del: other reasons-- https://master.php.net/note/delete/74612
Reject -- https://master.php.net/note/reject/74612
Search -- https://master.php.net/manage/user-notes.php