Adding "charset" - patch for php_imap.c
| From: | Johan Ekenberg | Date: | Wed, 16 May 2001 21:29:11 +0000 |
| Subject: | Adding "charset" - patch for php_imap.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55540@lists.php.net to get a copy of this message | ||
Attached is a suggested patch to make it possible to set the CHARSET parameter with
imap_mail_compose(). Currently, all body parts with Content-Type = TYPETEXT get CHARSET=US-ASCII.
Usage:
$body[1][type] = TYPETEXT;
$body[1][charset] = "iso-8859-1";
Chuck, if there are no objections to the patch, can you commit it?
Best regards,
/Johan Ekenberg