u can use cfpop, which queries a pop mail server
eg

<CFPOP SERVER="mail.company.com"
    USERNAME=#username#
    PASSWORD=#password#
    ACTION="GetHeaderOnly"
    NAME="Sample">

<CFOUTPUT QUERY="Sample">
    MessageNumber: #HTMLEditFormat(Sample.MESSAGENUMBER)# <BR>
    To: #HTMLEditFormat(Sample.TO)# <BR>
    From: #HTMLEditFormat(Sample.FROM)# <BR>
    Subject: #HTMLEditFormat(Sample.SUBJECT)# <BR>
    Date: #HTMLEditFormat(Sample.DATE)# <BR>
    Cc: #HTMLEditFormat(Sample.CC)# <BR>
    ReplyTo: #HTMLEditFormat(Sample.REPLYTO)# <BR>
</CFOUTPUT>


-----Original Message-----
From: Andrew Tollervey [mailto:[EMAIL PROTECTED]]
Sent: 02 February 2001 07:28
To: Fusebox
Subject: RE: Coldfusion and Email


I'm planning to building an emailing list application using the fusebox
methodology, but need an answer to the following question before I start -
How can I get coldfusion to read the subject box of an incoming email? I
want coldfusion to register an email address to the emailing list when
'Register' is in the subject box and to cancel the registration when
'Cancel' is in the subject box? Does anyone know if coldfusion can do this?
Thanks, 

Andrew
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to