note 81776 added to function.imap-fetchbody

From: Date: Thu, 13 Mar 2008 07:08:07 +0000
Subject: note 81776 added to function.imap-fetchbody
Groups: php.notes 
Request: Send a blank email to php-notes+get-136999@lists.php.net to get a copy of this message
If text has been encoded as quoted-printable (most body text is encoded as this), it must be decoded for it to be displayed correctly (without '=', '=20' and other strange text chunks all through the string). To decode, you can use the following built-in php function... quoted_printable_decode($string) Hopefully I've just saved a few people from having to do a preg_replace on there email bodies. ---- Server IP: 117.104.160.194 Probable Submitter: 59.167.213.18 ---- Manual Page -- http://www.php.net/manual/en/function.imap-fetchbody.php Edit -- https://master.php.net/note/edit/81776 Del: integrated -- https://master.php.net/note/delete/81776/integrated Del: useless -- https://master.php.net/note/delete/81776/useless Del: bad code -- https://master.php.net/note/delete/81776/bad+code Del: spam -- https://master.php.net/note/delete/81776/spam Del: non-english -- https://master.php.net/note/delete/81776/non-english Del: in docs -- https://master.php.net/note/delete/81776/in+docs Del: other reasons-- https://master.php.net/note/delete/81776 Reject -- https://master.php.net/note/reject/81776 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136999) next »