CSS in emailColdfusion, CSS, Email

Use inline style for everything!

<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>
Powered by Remix
|
Designed by szhshp
|
Copyright © szhshp 2022