note 111031 added to function.imap-fetchbody
| From: | red dot ender at yahoo dot com | Date: | Tue, 08 Jan 2013 13:29:52 +0000 |
| Subject: | note 111031 added to function.imap-fetchbody | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192838@lists.php.net to get a copy of this message | ||
I had some problems with the german umlauts from a gmail fetched text. I lost an hour trying to find
a solution.
Hopefully this helps someone in need :)
$text = trim( utf8_encode( quoted_printable_decode(
imap_fetchbody( $this->inbox, $emailNo, $section ) ) ) );
$section was previously defined:
$section = empty( $attachments ) ? 1 : 1.1;
----
Server IP: 69.147.83.199
Probable Submitter: 87.189.115.254
----
Manual Page -- http://php.net/manual/en/function.imap-fetchbody.php
Edit -- https://master.php.net/note/edit/111031
Del: integrated -- https://master.php.net/note/delete/111031/integrated
Del: useless -- https://master.php.net/note/delete/111031/useless
Del: bad code -- https://master.php.net/note/delete/111031/bad+code
Del: spam -- https://master.php.net/note/delete/111031/spam
Del: non-english -- https://master.php.net/note/delete/111031/non-english
Del: in docs -- https://master.php.net/note/delete/111031/in+docs
Del: other reasons-- https://master.php.net/note/delete/111031
Reject -- https://master.php.net/note/reject/111031
Search -- https://master.php.net/manage/user-notes.php