Monday, February 16, 2015

New Line at Send Email PHP

Set Configure HTML type

Change $config['mailtype'] = 'html';

and use


 or

Use double-quotes " instead of single-quotes '. This way the newline \n will work.
"\n";

No comments:

Post a Comment