Soflomo/Mail — pull request #15 by BnitoBzh (2014-11-27 10:55:36+00:00)
Title: Enable Multipart Alternative content-Type

Enable the Multipart Alternative content-Type when HTML template and TEXT template are used together.

The default headers configuration doesn't worked.

$mailer->send(array(
'to' => $recipient,
'subject' => $subject,
'template' => 'email/template_html',
'template_text' => 'email/template_text',
'headers' => array(
'content-type' => 'multipart/alternative' // not working
),
), array(
'var' => $var
));