CodeIgniter Forums
Tips for those sending double-byte emails - 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: Tips for those sending double-byte emails (/showthread.php?tid=3841)



Tips for those sending double-byte emails - El Forum - 10-24-2007

[eluser]mipa[/eluser]
Just a tip for those wanting to send emails with double-byte character sets (eg. big5), there are two things that can screw you up:

1. CI's native Email class does a stripslashes() on the message content when preparing the mail. I would suggest extending the Email class and removing the stripslashes() call from the message() function.

2. Wordwrap - make sure you turn it off in your email configuration (it defaults to true) because it may split a double-byte character.