O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Receiving and Deleting Messages

Listing 21.8 is the CheckMailMsg.cfm template the user will be directed to whenever they click the subject line in the list of messages (refer to Figure 21.6). This template requires that a URL parameter called UID be passed to it, which indicates the uid of the message the user clicked. In addition, the template can be passed a Delete parameter, which indicates that the user wants to delete the specified message.

Listing 21.8. CheckMailMsg.cfm—Retrieving the Full Text of an Individual Message
<!--- Filename: CheckMailMsg1.cfm Author: Nate Weiss (NMW) Purpose: Allows the user to view a message on their POP server ---> <html> <head><title>Mail Message</title></head> <body> <!--- Simple CSS-based formatting styles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required