How can I add custom mail headers?
Posted: 27 Jan 2006, 09:22
Hello,
we want to send custom mail headers to let the users filter by them.
I added this code to email_api.php in the function email_generic:
Then I send a reminder to myself.
However, I don't see the headers in the mail source.
What is the correct way to add custom mail headers to notification mails?
Bye,
Oliver
we want to send custom mail headers to let the users filter by them.
I added this code to email_api.php in the function email_generic:
Code: Select all
# @@@ kurlvink: Send the notify type as Header
if ( !is_array( $p_header_optional_params ) ) {
$p_header_optional_params = array();
}
$p_header_optional_params[]="Mantis-Notify-Type: " . $p_notify_type;
However, I don't see the headers in the mail source.
What is the correct way to add custom mail headers to notification mails?
Bye,
Oliver