September 2007
Intermediate to advanced
600 pages
20h 21m
English
As noted previously in Table 21.5, the <cfpop> tag includes an attachmentPath attribute that, when provided, tells ColdFusion to save any attachments to a message to a folder on the server’s drive. Your template can then process the attachments in whatever way is appropriate: move the files to a certain location, parse through them, display them to the user, or whatever your application needs.
Listing 21.9 is a revised version of the CheckMailMsg.cfm template from Listing 21.8. This version enables the user to download and view any attachments that might be attached to each mail message. The most important change in this version is the addition of the attachmentPath attribute, which specifies ...
Read now
Unlock full access