mail_add_header()
Usage
mail_add_header(name, value)
Description
Adds a custom header to the mail.
Note
RFC 822 headers must contain only US-ASCII characters, so a header that contains non US-ASCII characters must have been encoded as per the rules of RFC 2047. Adding a non-compliant header will result in an error upon calling the mail_send()
function.
Example
${mail_add_header('X-Mailer', 'Structr')}