RE: [PHP] \n problems when creating an email
| From: | Wolf | Date: | Mon, 11 Feb 2008 13:17:51 +0000 |
| Subject: | RE: [PHP] \n problems when creating an email | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-269083@lists.php.net to get a copy of this message | ||
I've found it to be a lost cause to add pure white space in tabs during emails. Most clients
are "helpful" in making things "user friendly" by removing leading white space.
What i found did work on most machines at the time was either just a newline or a "Q:
<question>\nA: <answer>\n" which isn't as formatted, but does the readabilty
job.
Wolf
-----Original Message-----
From: Angelo Zanetti <angelo@elemental.co.za>
Sent: Monday, February 11, 2008 7:23 AM
To: 'Stut' <stuttle@gmail.com>
Cc: php-general@lists.php.net
Subject: RE: [PHP] \n problems when creating an email
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 been wasting my time trying to figure out the solution...
However I see that with the tabbed (\t) formatting its very inconsistent in
many email and web clients... Do you have a solution to ensure that the
output is consistent always?
Please send some links or any advice, TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php