Brian,

You may be out of luck, short of applying the styles inline. Hotmail
strips certain tags from incoming messages, including all <style> tags
and their contents. See this recent article for more detail:
http://www.alistapart.com/articles/cssemail/.

One thing that my clients have done in these situations is to send just
a short text or HTML email explaining the mailing, along with a link to
a server-generated page that has all of the formatting that you expect.
In other words, the email you send to Hotmail customers would contain a
link to your own site (e.g. <a
href="http://your.server.com/news/20050210.html";>Click for Alumni
News</a>), and the resulting page would have all of the relevant
formatting. The marketing people have a love/hate relationship with this
approach, because they can't drop the great stuff right into an email,
but if it's just one click away (and people are expecting the message),
it's an acceptable problem to them.

Good luck -

Jim

Jim Jurista
Ravenglass Technologies, Inc.
3919 East Rd
Cazenovia, NY 13035 USA
[EMAIL PROTECTED]
http://www.ravenglass.com/
315-655-9354 Office
315-420-0436 Mobile


-----Original Message-----
From: Cold Fusion User Group CNY [mailto:[EMAIL PROTECTED] On
Behalf Of Brian P. Hoke
Sent: Thursday, February 10, 2005 11:50 AM
To: [email protected]
Subject: [CFUGCNY] HTML email on Hotmail


I'm sending a HTML-formatted email to a group of people using CFMAIL.
The email contents look as at bottom: I use CSS styles, written at the
top of the document, to style the contents of the email. Works fine with
almost all rendering engines: Outlook, AOL, and most web-based mail
clients, like Yahoo. Hotmail, though, presents a problem: for some
reason, the CSS styles don't apply to the contents. Given that this is a
significant portion of our audience, I'm looking for a way to fix this.
Any suggestions? Many thanks,

~Brian


Brian P. Hoke
Bentley & Hoke LLC
http://www.bentleyhoke.com
315-446-2300



<cfmail>
<head>
<title>Alumni News</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/> <style type="text/css" media="all"> body {
        background-color:##cc9;
        font:.9em "Times New Roman", Times, serif;
        margin:0 0 20px 0;
        padding:0;
        text-align:center;
}
h1 {
        font-size:1.4em;
        margin-bottom:0;
        text-align:left;
}
/* more here */
</style>

</head>
<body>
<div id="main">

<!--- content here --->

</div>
</body>
<cfmail>

________________________________________________________________
To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body. To send a message to the list:
[email protected]

List archives:
http://www.mail-archive.com/[email protected]/index.html
Visit our website: http://www.cfugcny.org

________________________________________________________________
To unsubscribe: send a message to [EMAIL PROTECTED] with
'Unsubscribe CFUGCNY' in the body.
To send a message to the list: [email protected]

List archives: http://www.mail-archive.com/[email protected]/index.html
Visit our website: http://www.cfugcny.org

Reply via email to