 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
November 29th, 2010, 11:01 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
| html emails not parsed
Hi Chuck.
After I have Qmail installed on my server, mails are looking like this:
Content-Type: text/html; charset=ISO-8859-1
<body style="margin:0"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td bgcolor="#ffffff" valign="top"><table width="750" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td bgcolor="#ffffff" width="750">new reply to your ad:<br /> ...
How do I correct that?
|
| |
November 29th, 2010, 11:13 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,672
|
Have you checked qmail for any settings to allow html email or issues. I am unfamiliar with server programs like qmail.
Looks to me like your email is fine its your client that is not reading html content. I mean the content looks normal there.
I use html email and am getting html email.
I would personally check your email client and make sure you allow html email. It should be able to read that html as html if it is allowed.
|
| |
December 14th, 2010, 01:17 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
|
FIXED:
My hosting support helped me out on this.
I had to use:
$headers .= "MIME-Version: 1.0$newline";
instead of:
$headers .= "MIME-Version: 1.0\r\n";
|
| |
December 14th, 2010, 05:36 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,672
|
newline is clearly defined in the program like so maybe your using an old version of the software as I see we never got that far in this discussion. Code: Content visible to verified customers only.
|
| |
December 19th, 2010, 02:20 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
| Quote:
Originally Posted by Chuck S newline is clearly defined in the program like so maybe your using an old version of the software as I see we never got that far in this discussion. Code: Content visible to verified customers only.
| Yes, I have that in code, but it didnt work.
|
| |
December 19th, 2010, 02:25 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
| Code: Content visible to verified customers only.
as you can see \r\n is hardcoded in MIME-Version.
It should be: Code: Content visible to verified customers only.
|
| |
December 19th, 2010, 02:49 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,672
|
Right most likely your server isnt passing the PHP_OS variable.
|
| |
January 3rd, 2011, 10:04 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Malaga - Spain
Posts: 44
| The same issue
Hello I have the same issue, when I receive an email "Verify Payment at..."
The body show this: Content-Type: text/html; charset=iso-8859-1
<body style="margin:0"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td bgcolor="#ffffff" valign="top"><table width="750" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td bgcolor="#ffffff" width="750">Ha recibido un pago de Nikonino de la siguiente venta:
<a href="http://www.gstrail.es/ventas/showproduct.php?product=545" target="_blank">http://www.gstrail.es/ventas/showproduct.php?product=545</a>
el cual debería tener un coste total de •2.00.
Verifique que que la transacción es correcta y que ha recibido el pago correctamente.</td></tr></table></td></tr></table></body>
I receive others html emails from other sites without problems.
Thanks
|
| |
January 3rd, 2011, 10:15 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,672
|
Change the one line noted to be $newline Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:30 PM. | |