Codeigniter Email issue

Codeigniter Email issue with sending emails with attachments

This is a multi-part message in MIME format.

Your email application may not support this format.

 

–B_ATC_663a4b4ba35f5

Content-Type: multipart/alternative; boundary=”B_ALT_663a4b4ba35f4″

 

–B_ALT_663a4b4ba35f4

Content-Type: text/plain; charset=UTF-8

Content-Transfer-Encoding: 8bit

 

Please Download PDF invoice

 

Solution:

/system/libraries/email.php

Replace
public $newline        = “\n”;
public $crlf        = “n”;
With
public $newline        = “\r\n”;
public $crlf        = “\r\n”;

Add a Comment