How To Fix MIME Type Error Using Codeigniter sendmail?

If you are using Codeiginiter mail class function, you can get following type of MIME type error.
This is a multi-part message in MIME format.
Your email application may not support this format.
How to fix the MIME error:
Follow the following steps if you get MIME type sendmail error.
1. Open system/libraries/email.php
2. Edit
  var $newline = "\n";
  var $crlf = "\n";

  to

  var $newline = "\r\n";
  var $crlf = "\r\n";
Hope this solves your problem.
If you found any problem and solution, do share to other readers as well. :)

Comments

Post a Comment

Popular Posts