note 18244 deleted from function.imap-mail-compose by cmb
| From: | cmb@php.net | Date: | Fri, 09 Oct 2020 15:34:48 +0000 |
| Subject: | note 18244 deleted from function.imap-mail-compose by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215561@lists.php.net to get a copy of this message | ||
Note Submitter: vlad ( at php dot net)
----
... and the headers (elements of the envelope) are case-sensitive and are listed below:
remail
return_path
date
from
reply_to
in_reply_to
subject
to
cc
bcc
message_id
custom_headers
If you can't find a header you need in this list, you can use 'custom_headers'. It is
just an array of lines to be appended to the header without any formatting, like this:
$envelope["custom_headers"] = Array("User-Agent: My Mail Client",
"My-Header: My Value");
TODO: This should really migrate from a note to documentation