note 43525 added to function.imap-8bit
| From: | rayFX at rn2 dot php dot net | Date: | Thu, 24 Jun 2004 13:14:50 +0000 |
| Subject: | note 43525 added to function.imap-8bit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71590@lists.php.net to get a copy of this message | ||
imap_8bit seems to have a bug as it doesn't encode "?".
Had a lot of trouble to encode a mail-subject with
german umlaute with an ending "?"...
Try this:
$subject = "=?iso-8859-1?Q?" .
str_replace("?","=3F",imap_8bit($tsubject_to_encode)) . "?=";
----
Manual Page -- http://www.php.net/manual/en/function.imap-8bit.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43525
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43525&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43525&report=yes
Search -- http://master.php.net/manage/user-notes.php