Re: css in mail()
| From: | Richard Lynch | Date: | Fri, 23 Feb 2007 22:26:41 +0000 |
| Subject: | Re: css in mail() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249341@lists.php.net to get a copy of this message | ||
On Wed, February 21, 2007 3:46 am, Sancar Saran wrote:
> Hi,
> Actual was this
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html>
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8"
> />
> <meta name="description" content="" />
> <meta name="keywords" content="" />
> <title>Title</title>
> </head>
> <style type=&apstext/css&aps>
> ...
It's entirely possible the PHP 'mail' command now adds the various
MIME headers and whatnot to make this work, but it sure didn't used
to...
Or maybe they went and simplified the whole MIME mess since I last
looked and now you don't need those 'boundary' things to get a valid
HTML email.
You still have the issue of spam filters catching it as HTML email, so
losing audience share to that....
I know I see a TON of email that starts off with <html> in the actual
email. Actually, I don't really see it, as I hit 'delete'
automatically at that point.
--
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?