Re: [PHP] \n problems when creating an email

2008-02-14 Thread Richard Lynch
If the recipient is gmail, then you need to use \r\n because Gmail is following in the Windows way of ignoring standards... :-( On Mon, February 11, 2008 6:10 am, Angelo Zanetti wrote: Hi guys, I am making email text based on some fields the user fills in and then email the admin the

RE: [PHP] \n problems when creating an email

2008-02-11 Thread Wolf
as formatted, but does the readabilty job. Wolf -Original Message- From: Angelo Zanetti [EMAIL PROTECTED] Sent: Monday, February 11, 2008 7:23 AM To: 'Stut' [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: RE: [PHP] \n problems when creating an email Looks like you're using Outlook

Re: [PHP] \n problems when creating an email

2008-02-11 Thread Nathan Rixham
exactly as stut said, try using double /n's or convert the email to html. whilst testing always view email source to verify what your creating. Nath Stut wrote: Angelo Zanetti wrote: I am making email text based on some fields the user fills in and then email the admin the details. I am

Re: [PHP] \n problems when creating an email

2008-02-11 Thread Stut
Angelo Zanetti wrote: I am making email text based on some fields the user fills in and then email the admin the details. I am having a problem where sometimes the \n (new line) works and sometimes it just does nothing. Im not sure the cause but I cant seem to figure it out. Looks like you're

Re: [PHP] \n problems when creating an email

2008-02-11 Thread Daniel Brown
On Feb 11, 2008 7:10 AM, Angelo Zanetti [EMAIL PROTECTED] wrote: Hi guys, I am making email text based on some fields the user fills in and then email the admin the details. I am having a problem where sometimes the \n (new line) works and sometimes it just does nothing. Im not sure the

RE: [PHP] \n problems when creating an email

2008-02-11 Thread Angelo Zanetti
Looks like you're using Outlook. It has an annoying feature where it helpfully removes extra line breaks. This would appear to be what's happening here. When it does this it usually displays a notice somewhere to say it's done this and offers a way to undo it. Thanks, dam I