Re: PHP Mailto() - Google now displaying HTML as Plain Text

From: Date: Thu, 03 May 2012 20:13:12 +0000
Subject: Re: PHP Mailto() - Google now displaying HTML as Plain Text
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-317763@lists.php.net to get a copy of this message
Hi all, This question is now closed. There is nothing wrong with my script. It was an error by Google when they switched over to the new-look email and have since rectified the issue and all is back to normal. Thanks to all who have responded. Terry On 3 May 2012 21:05, Gerardo Benitez <gerardobenitez@gmail.com> wrote: > Do you know if the mailto script allow set headers? > > Probably you must set a html header, something like this > $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; > > > Regards, > Gerardo. > > On Tue, May 1, 2012 at 5:14 PM, Marco Behnke <marco@behnke.biz> wrote: > > > > > > > Am 29.04.2012 22:31, schrieb Terry Ally (Gmail): > > > >> Hi all, > >> > >> I have been using a mailto() script for the last three years and from > >> April > >> 25, 2012 incoming HTML email in Goggle mail is displaying as Plain Text. > >> Something clearly changed with Google. Perhaps there is some change I > >> need > >> to make with my script?? > >> > >> $message .= "<p><b>Message:</b><**blockquote> > >> ".$m."</blockquote></p>"; > >> > >> > > As far as I can see your main html tags are missing? > > > > $message = '<html><body>' . $message . > > '</body></html>'; > > > > > > -- > > Marco Behnke > > Dipl. Informatiker (FH), SAE Audio Engineer > > Zend Certified Engineer PHP 5.3 > > > > Tel.: 0174 / 9722336 > > e-Mail: marco@behnke.biz > > > > Softwaretechnik Behnke > > Heinrich-Heine-Str. 7D > > 21218 Seevetal > > > > http://www.behnke.biz > > > > > > > > > -- > Gerardo Benitez > ------------------------- > Programador Web Freelance > -- *Terry Ally* Twitter.com/terryally Facebook.com/terryally ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ To print or not to print this email is the environmentally-searching question! Which has the highest ecological cost? A sheet of paper or constantly switching on your computer and connecting to the Internet to read your email?

« previous php.general (#317763) next »