PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   html emails not parsed (http://www.photopost.com/forum/classifieds-bug-reports/144596-html-emails-not-parsed.html)

Simka November 29th, 2010 11:01 AM

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?

Chuck S November 29th, 2010 11:13 AM

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.

Simka December 14th, 2010 01:17 AM

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";

Chuck S December 14th, 2010 05:36 AM

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.

Simka December 19th, 2010 02:20 PM

Quote:

Originally Posted by Chuck S (Post 1281266)
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.

Simka December 19th, 2010 02:25 PM

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.

Chuck S December 19th, 2010 02:49 PM

Right most likely your server isnt passing the PHP_OS variable.

RAFA January 3rd, 2011 10:04 AM

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

Chuck S January 3rd, 2011 10:15 AM

Change the one line noted to be $newline

Code:

Content visible to verified customers only.


All times are GMT -5. The time now is 01:06 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97