addHeader() from Zend Mail

Permalink
Hi

I'd like to add specific headers in the Form Submission Email such as Importance. I know Zend has a function addHeader() (http://framework.zend.com/manual/1.12/en/zend.mail.additional-headers.html), but Concrete5 doesn't seem to support it. Or does it?

Can anyone help me out?

Adding
$mh->addHeader('X-Priority', '1');
$mh->addHeader('X-MSMail-Priority', 'High');
$mh->addHeader('Importance', 'High');

in core/controllers/blocks/form.php doesn't work.

View Replies: View Best Answer
Opeon replied on at Permalink Best Answer Reply
Fixed it by adding this to the core/helpers/mail.php at line 303.

$mail->addHeader('X-Priority', '1');
$mail->addHeader('X-MSMail-Priority', 'High');
$mail->addHeader('Importance', 'High');