MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual page 243

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 13: Sending and Receiving Email
To delete messages:
1.
Create a new file in Studio.
2.
Modify the file so that it appears as follows:
<HTML>
<HEAD>
<TITLE>POP Mail Message Delete Example</TITLE>
</HEAD>
<BODY>
<H2>This example deletes messages:</H2>
<CFPOP SERVER="mail.company.com"
USERNAME=#username#
PASSWORD=#password#
ACTION="Delete"
MESSAGENUMBER="1,2,3">
</BODY>
</HTML>
3.
Change the following line so that it refers to a valid POP mail server, as well as a
valid user name and password:
<CFPOP SERVER="mail.company.com"
4.
Save the file as
returned will be 1,2,3,4. If messages 1 and 2 are then deleted within a
single CFPOP tag, messages 3 and 4 will be assigned message numbers 1
and 2, respectively.
USERNAME=#username#
PASSWORD=#password#
in
msgdel.cfm
under the Web root directory.
myapps
217

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents