CSS in email
文章目录

Use inline style for everything!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<cfsavecontent variable="emailContent">
<cfoutput>
<div style="font: 12px Arial, Helvetica, sans-serif;">
Dear #contactName#<cfelse>Sir or Madam</cfif>,
<br /><br />
Thank you for the submittal of your data.
<br /><br />
<b>New Status for Parts:</b>
<ul>
<cfloop group="customID">
<li>
<cfif local.recentItemWithAction.customID NEQ "">

- Part ## #local.recentItemWithAction.customID#

<cfelse>

- Part ## #local.recentItemWithAction.customID#

</cfif>
<cfif local.recentItemWithAction.ApprovalComment NEQ "">

- #local.recentItemWithAction.ApprovalComment#

</cfif>
</li>
</cfloop>
</ul>
<b><span style="color: red;">Important</span></b>
<br />
This link provides direct access to your company's instance of the supplier request portal. Please use caution when distributing it and do <b>not</b> post it publicly.

<br /><br />
If you have any questions, please send email to
<a href="mailto:#local.perItemDailyEmailSender#">
#local.perItemDailyEmailSender#
</a>
<br /><br />
Kind Regards,
<br />
<br /><br />
<br /><br />
</div>
</cfoutput>
</cfsavecontent>