Re: Parsing a stdClass Object created with mimeDecode
| From: | Stut | Date: | Tue, 16 May 2006 21:02:48 +0000 |
| Subject: | Re: Parsing a stdClass Object created with mimeDecode | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236300@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
On Tue, May 16, 2006 1:41 am, Stut wrote:Absolutely true, I agree 100%. However, in this situation we're on the other end of the line where we don't control the email creation but we need to deal with it in whatever format it arrives in. The simple fact is that email is not required to contain a text/plain part, so it's not an assumption that is safe to make. -Stutit meets your requirements, but bear in mind that an email is not required to have a text/plain part.... unless you actually want people to read it. HTML-only email will get nuked by spam filters and plain-text-only email readers. Don't do it. For that matter, even HTML-enhanced (cough, cough) email is much more likely to be IGNORED than a simple plain-text email.