Closes #139 - Don't new-line SMTP array headers
This commit is contained in:
parent
5e9eb4f355
commit
e39553a8d7
@ -475,8 +475,8 @@ function hesk_mail($to,$subject,$message,$htmlMessage,$cc=array(),$bcc=array())
|
||||
);
|
||||
if ($modsForHesk_settings['html_emails'])
|
||||
{
|
||||
array_push($headersArray,"MIME-Version: 1.0\n");
|
||||
array_push($headersArray,"Content-Type: multipart/alternative;boundary=".$boundary."\n");
|
||||
array_push($headersArray,"MIME-Version: 1.0");
|
||||
array_push($headersArray,"Content-Type: multipart/alternative;boundary=".$boundary);
|
||||
} else
|
||||
{
|
||||
array_push($headersArray,"Content-Type: text/plain; charset=" . $hesklang['ENCODING']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user