Created
October 4, 2013 13:53
-
-
Save cfjedimaster/6826259 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset mailAttributes = { | |
server="smtp.gmail.com", | |
username="raymondcamden@gmail.com", | |
password="foo", | |
from="raymondcamden@gmail.com", | |
to="raymondcamden@gmail.com", | |
subject="Foo LOCAL Fighters Ticket" | |
} | |
/> | |
<cfmail port="465" useSSL="true" attributeCollection="#mailAttributes#" type="html"> | |
<html> | |
<body> | |
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "EventReservation", | |
"reservationNumber": "E123456792", | |
"underName": { | |
"@type": "Person", | |
"name": "Raymond Camden" | |
}, | |
"reservationFor": { | |
"@type": "Event", | |
"name": "Foo LOCAL Fighters Concert", | |
"performer": { | |
"@type": "Person", | |
"name": "The Foo Fighters" | |
}, | |
"startDate": "2013-10-04T10:30:00-06:00", | |
"location": { | |
"@type": "Place", | |
"name": "My House", | |
"address": { | |
"@type": "PostalAddress", | |
"streetAddress": "403 Robinhood Circle", | |
"addressLocality": "Lafayette", | |
"addressRegion": "LA", | |
"postalCode": "70508", | |
"addressCountry": "US" | |
} | |
} | |
}, | |
"reservationStatus": "http://schema.org/Confirmed" | |
} | |
</script> | |
<h1>This is your ticket. Have a nice day!</h1> | |
<p> | |
Enjoy your event seeing the Foo Fighters! | |
</p> | |
<p> | |
BOOKING DETAILS<br/> | |
Reservation number: E123456792<br/> | |
Order for: Raymond Camden<br/> | |
Event: Foo LOCAL Fighters Concert<br/> | |
Start time: October 4th 2013 10:30am CST<br/> | |
Venue: My House, 403 Robinhood Circle, Lafayette, LA 70508<br/> | |
</p> | |
</body> | |
</html> | |
</cfmail> | |
<p> | |
Mail sent. New. | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment