Codeigniter strips characters from HTML Email - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Codeigniter strips characters from HTML Email (/showthread.php?tid=54648) |
Codeigniter strips characters from HTML Email - El Forum - 09-18-2012 [eluser]Unknown[/eluser] 0 down vote favorite I have developed a CMS and when user forgets his/her password / the system will generate a new random password and send it to the user through email but when i open the email it automatically strip some character from my email body replacing them with (=). This is the email after its sent you can see the messed up parts in bold Dear Noor Shirzai This Email was se=t to you in order to inform you that your Password has be=n reset. Bellow is your New Password : Your Username is : mohib Your New Pas=word is : IOODiGhcYYrL Please change your <=trong> New Password </strong> as soon as you login to the system in order to=avoid any security issues. Note : when i send this with Pure PHP mail function it works fine. bellow is my email function and the email configuration file code: I will really appreciate any help that i get. thanks my function that send the mail: Code: if (! function_exists('send_password')) And the email.php config file is as follows: Code: $config['useragent'] = 'NoorCMS'; Codeigniter strips characters from HTML Email - El Forum - 09-18-2012 [eluser]CroNiX[/eluser] try changing your newline and crlf parameters to "\r\n", in double quotes. Codeigniter strips characters from HTML Email - El Forum - 09-20-2012 [eluser]Unknown[/eluser] thanks CroNiX you saved my life i was stuck with this for last four days, but can you tell me the details on this particular problem that would really be helpful in the future. Thanks Agian |