CodeIgniter Forums
What effect does 'crlf' (new line character) actually have in e-mail preferences? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: What effect does 'crlf' (new line character) actually have in e-mail preferences? (/showthread.php?tid=25347)



What effect does 'crlf' (new line character) actually have in e-mail preferences? - El Forum - 12-09-2009

[eluser]Andy Ingham[/eluser]
Hi All,

I've found it mentioned in lots of places that 'crlf' should generally be set to "\r\n", but my question is what effect does this atually have?

For example, if I have the following line...

Code:
$this->email->message("first line"."\n"."second line");

...then I'm coding it explicitly. Is there some kind of constant that the 'crlf' setting is affecting?

Andy