Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFMAIL and Stylesheets

Status
Not open for further replies.

MsChelle

Programmer
Jul 11, 2002
54
US
I have an automated email that uses one template twice (2 different query results). The stylesheet (basic, used for colors and formatting only) is linked on the output template. An <h3> tag before the 1st and 2nd outputs AND all of the 2nd output render the stylesheet just fine, but the first output looks like a default HTML table.

Any ideas??
Here's the code for the email:


<cfmail to="#myemail#" from="#me#" subject="Alarm test" type="html">

<h3><center>Cluster Summary for #dateformat(dateadd("d",-1,now()),"mm/dd/yy")#</center></h3>
<cfset breakout = "TRUE">
<cfset siteby = "FALSE">
<cfset thisquery = "cellhealth">
<cfinclude template="../cellhealth_output.cfm">

<hr>

<h3><center>Cluster Detail for #dateformat(dateadd("d",-1,now()),"mm/dd/yy")#</center></h3>
<cfset breakout = "TRUE">
<cfset siteby = "TRUE">
<cfset thisquery = "cellhealth2">
<cfinclude template="../cellhealth_output.cfm">
</cfmail>
 
Never mind...it must be something with Outlook. When I forwarded the report to someone else, the formatting showed correctly on all portions.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top