Results 1 to 1 of 1
Jul 7, 2008, 22:19 #1
- Join Date
- Jul 2008
- 0 Post(s)
- 0 Thread(s)
PHP mail - plain text whitespace issue...
I'm sending customers a confirmation email of their orders on our site.
The email is in plain text and has 4 columns - Item, Color, Quantity, Price, Subtotal.
Now it took me a while to make sure they're all perfectly aligned (with whitespaces between the columns so they are spaced out), and each text of a column is not too long (truncate it in that case)...
On my test server when I send those confirmation emails as a test they looked perfect in MS Outlook...
Now that the site is online and we test preview those plain text message in Yahoo or Hotmail Accounts, the text/columns are totally out of sync...
If sent in utf-8, they ignore if there is more then one whitespace after the words...
If sent in iso-8859-1, some (extra) whitespaces are in place - but not all of them, still the matrix is out of sync...
I know that it is possible though, as the confirmation emails I've been getting from Amazon.com for example are in plain text and the matrix (columns) work and are aligned.
How do I do that ?
Btw, I am using the standard php mail() function.
Thanx for your help in advance !!!