CodeIgniter Forums
email library hangs if no newline set - 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: email library hangs if no newline set (/showthread.php?tid=55356)



email library hangs if no newline set - El Forum - 10-22-2012

[eluser]jmadsen[/eluser]
After banging my head for 20min, I finally tracked the "hanging email send()" down to not having:

$this->ci->email->set_newline("\r\n");

in my library.

I tested with an example straight from the user guide examples; anyone run into this before, and can explain the issue to me?

Guide doesn't show that this is required in anyway (unless I've overlooked)