arbitrary content-type parameters in imap_mail_compose
| From: | Kevin Way | Date: | Tue, 17 Sep 2002 23:52:50 +0000 |
| Subject: | arbitrary content-type parameters in imap_mail_compose | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-88364@lists.php.net to get a copy of this message | ||
Bug 19402 contains a patch which allows arbitrary content-type parameters
to be set in imap_mail_compose. I'd really like to see this in the tree,
as we already have the ability to set content-disposition parameters, but
oddly not those of content-type.
example usage (and demonstration of an encoding that is not possible
without this patch):
$part1['type']=TYPEMESSAGE;
$part1['subtype']="partial";
$part1['type.parameters'] = array ( 'number' => '1',
'total' => '4',
'id' => 'g3ogk301ABC@host.com');
$part1['encoding']=ENCBINARY;
$part1['contents.data']=$contents;
Thanks,
Kevin Way