It has been a long while since I have done ColdFusion.
I would like to email the results of a form and give "a thank you" message.
form declaration is:
<form action="mailto.cfm" method="post" name="mglures" id="mglures">
mailto.cfm:
<cfmail from="#form.emailaddr#" to="sales@mglures.com" subject="Order">
Shipping Information
#form.name# #form.address# #form.emailaddr#
Product Information Color Scent Qty
#form.chunkcolor# #form.chuckscent# #form.chunkqty# #form.crawcolor# #form.crawscent# #form.crawqty# #form.grubcolor# #form.grubscent# #form.grubqty# #form.frycolor# #form.fryscent# #form.fryqty# #form.pachinkocolor# #form.pachinkoscent# #form.pachinkoqty# #form.6flipcolor# #form.6flipscent# #form.6flipqty# #form.6padcolor# #form.6padscent# #form.6padqty# #form.7padcolor# #form.7padscent# #form.7padqty#
</cfmail>
<html>
<head>
<title>Order Confirmation</title>
</head>
<body>
<cfoutput>
<table>
<tr>
<td>Product Description</td>
<td>Color</td>
<td>Scent</td>
<td>Qty</td>
</tr>
</table>
<h2>Thank you #form.firstname# #form.lastname# for your order!</h2>
</cfoutput>
</body>
</html>
Thanks!
Mickey
I would like to email the results of a form and give "a thank you" message.
form declaration is:
<form action="mailto.cfm" method="post" name="mglures" id="mglures">
mailto.cfm:
<cfmail from="#form.emailaddr#" to="sales@mglures.com" subject="Order">
Shipping Information
#form.name# #form.address# #form.emailaddr#
Product Information Color Scent Qty
#form.chunkcolor# #form.chuckscent# #form.chunkqty# #form.crawcolor# #form.crawscent# #form.crawqty# #form.grubcolor# #form.grubscent# #form.grubqty# #form.frycolor# #form.fryscent# #form.fryqty# #form.pachinkocolor# #form.pachinkoscent# #form.pachinkoqty# #form.6flipcolor# #form.6flipscent# #form.6flipqty# #form.6padcolor# #form.6padscent# #form.6padqty# #form.7padcolor# #form.7padscent# #form.7padqty#
</cfmail>
<html>
<head>
<title>Order Confirmation</title>
</head>
<body>
<cfoutput>
<table>
<tr>
<td>Product Description</td>
<td>Color</td>
<td>Scent</td>
<td>Qty</td>
</tr>
</table>
<h2>Thank you #form.firstname# #form.lastname# for your order!</h2>
</cfoutput>
</body>
</html>
Thanks!
Mickey