Re: css in mail()
| From: | Richard Lynch | Date: | Tue, 20 Feb 2007 23:09:27 +0000 |
| Subject: | Re: css in mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249134@lists.php.net to get a copy of this message | ||
On Mon, February 19, 2007 9:03 am, Danial Rahmanzadeh wrote:
> how can i use css with mail()?
> thank u
Don't.
HTML enhanced (cough, cough) email is used predominantly by spammers,
so if you do this, you'll be back here in a few days/weeks/months
asking what you can do to get your email to get through all the spam
filters, and we'll just tell you to stop doing HTML-enhanced email.
So let's save you, and us, a month-long debacle here, okay?
If you absolutely positively cannot convince the client to not use
HTML enhanced email, the MIME email class on http://phpclasses.org
will take care of the grungy details, or you could use the PEAR class
for this or you could Google for "PHP MIME email" and find a few
zillion pages.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?