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 ...