imap
| From: | Andrew Perevodchik | Date: | Mon, 17 Sep 2001 14:28:01 +0000 |
| Subject: | imap | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67605@lists.php.net to get a copy of this message | ||
Is there and "legal" way to extract content-type
ant content-transfer-encodding values from message
header (maybe by imap_ functions)? Or I should try
to invent regexp, which would deal with these
multiline values? If so, which regexp would grab
content-type value correctly:
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
X-UIDL: 80d99cccc1297a6d3b18a50c311202c5
--
Andrew Perevodchik
ok@naverex.kiev.ua