In this chapter, we've discussed how to prepare your environment to leverage the power of email in enhancing your ColdFusion applications. At a high level, you can integrate your ColdFusion Server with a single mail server by configuring the ColdFusion Administrator to connect directly to the mail server of your choosing.
Beyond that, we've discussed how to use the CFMAIL tag to construct messages, attach files, and send those messages to singular or multiple recipients. We've also discussed how to use the optional parameters available for CFMAIL to specify things like server names, ports, usernames, and passwords on an application-by-application basis.
You should also be comfortable with attaching files to your mail messages using the optional parameter of the CFMAIL tag or by using the CFMAILPARAM tag itself.
CFPOP, in contrast to CFMAIL, enables you to read, manage, and delete existing messages by providing you with an easy way to integrate your existing ColdFusion applications with POP-compliant mail servers.
By utilizing these two powerful components of the ColdFusion Markup Language, you should be able to perform automatically through your ColdFusion applications tasks that you previously had to do manually.
Just as you can easily integrate email components into your ColdFusion application, it's just as easy to integrate the server file system into your application to provide functionality for your users. This leads us right into Chapter 12, "Working with Files."