Re: html mail

From: Date: Wed, 07 May 2003 21:28:04 +0000
Subject: Re: html mail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146739@lists.php.net to get a copy of this message
Paul, to answer your question.. $headers = "Content-type: text/html\n"; mail($to, $subject, $body, $headers); This is a very common question. Next time please perform a thurough search before posting to the group. Google is a great resource.. http://groups.google.com/groups?q=php+send+html+email&ie=UTF-8&oe=UTF-8&hl=e n To the rest of you. Although I have no authority here I think I've been around long enough to say that this is an information exchange, not an advocacy group. If you can't answer the question in the context which it was given then please don't answer. Otherwise you only add to the noise on this list. HTH, Kevin ----- Original Message ----- From: "luis" <luis@fuegolabs.com> To: "'Paul Marinas'" <paulm@rdscv.ro>; "'Pierrick LE GALL'" <pierrick@z0rglub.com> Cc: <php-general@lists.php.net> Sent: Wednesday, May 07, 2003 3:00 PM Subject: RE: [PHP] html mail > My answer is my signature! :-) > > --- > Luis Argerich ( ) ASCII Ribbon Campaign > http://tikiwiki.sourceforge.net X against HTML on email > "There's no spoon" / \ and Usenet posts > > > > -----Original Message----- > > From: Paul Marinas [mailto:paulm@rdscv.ro] > > Sent: Wednesday, May 07, 2003 5:57 PM > > To: Pierrick LE GALL > > Cc: php-general@lists.php.net > > Subject: Re: [PHP] html mail > > > > > > i have to send some kind of greating, that it can't be done > > only with text mail. > > > > Paul Marinas > > Suport Tehnic > > RDS Craiova > > > > ~~~~~~~~~~~~~~~~~ > > Tel: 025.1410.194 > > Fax: 025.1416.579 > > e-mail: paul.marinas@rdsnet.ro > > http: www.rdsnet.ro > > > > On Wed, 7 May 2003, Pierrick LE GALL wrote: > > > > > paul marinas <paulm@sgi.rdscv.ro> writes: > > > > > > > How can i send with php a mail in html format. > > > > > > The best advice I can give you is to use plain text for mail. Using > > > html is generally a very bad idea... Think about problems of > > > accessibility for some people, voice synthetiser for html > > mail are a > > > lot less efficient than for plain text mails. > > > > > > Furthermore, HTML can contain virus and some smart enough people > > > disable html mail reading. Plain text mail are secure. > > > > > > Hope you'll prefer plain text mail. > > > > > > -- > > > Pierrick LE GALL | http://www.z0rglub.com > > > <pierrick@z0rglub.com> | Å9®n¶ç_# > > > .û–ãúhttp://www.phpwebgallery.net > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#146739) next »