Wednesday, June 4, 2014

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. :)

2 comments:

  1. Easton Bell Electrical are your Melbourne based electricians, and it is our priority that
    we provide you with a friendly and courteous service while being professional and well presented.
    We pride ourselves on being on time and discussing with you what work suits you best. And best of all,

    We Clean Up!Bayside Electrician

    ReplyDelete
  2. Nice tutorial ! Worked for me, Thanks buddy

    ReplyDelete