Skip to content

Instantly share code, notes, and snippets.

View WaltRiceJr's full-sized avatar

Walt Rice, Jr. WaltRiceJr

  • R&R Computer Solutions
  • Philadelphia, Pennsylvania, USA
View GitHub Profile
@WaltRiceJr
WaltRiceJr / mail.cfm
Last active October 26, 2016 16:00 — forked from cflove/mail.cfm
Fixed MIME closing boundary for multipart/alternative section
<cfparam name="attributes.type" default="">
<!--- Original from http://cflove.org/2013/02/using-amazon-ses-api-sendrawemail-with-coldfusion.cfm --->
<!--- Modified by WaltRiceJr@gmail.com --->
<cfswitch expression="#thisTag.ExecutionMode#">
<cfcase value="start">
</cfcase>
<cfdefaultcase>
@cflove
cflove / mail.cfm
Last active February 23, 2021 05:20
ColdFusion custom mail tag to use Amazon SES API SendRawEmail call. This is will create Multipart email message and pass into SES API. Mailparam tag can be use to attach file and create custom x-headers slimier to cfmailparam tag.
<cfparam name="attributes.type" default="html">
<cfswitch expression="#thisTag.ExecutionMode#">
<cfcase value="start">
</cfcase>
<cfdefaultcase>
<!--- *************************************************** --->
<!--- Basic Errors --->
<!--- *************************************************** --->