Chapter 13. Working with Email
It’s
no wonder that email is considered one of the
Internet’s “killer
applications.” The ability to send and receive text
messages as well as binary file attachments to locations around the
globe has revolutionized the way we communicate. ColdFusion
wouldn’t be a complete development platform without
a way to tap the power of email. As such, several tags are provided
for working with email, three for sending messages
(cfmail
, cfmailparam
, and
cfmailpart
) and another for retrieving messages
(cfpop
).
There are lots of ways to integrate email into your ColdFusion applications. For example, you can allow users to enter feedback about your web site via an HTML form and have the feedback automatically emailed to the appropriate people. You can send email confirmation message to users, such as a registration confirmation when the user signs up for an account or an order confirmation after the user places an order with your e-commerce application. You can also allow users to sign up to receive periodic information via email, such as announcements of new products.
Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.