We are using CFPOP to log into an external POP server and download the
header information.
<CFPOP SERVER="mail.mycompany.net" USERNAME="myusername" PASSWORD="mypassword"
ACTION="GetHeaderOnly" NAME="Sample">
<CFOUTPUT QUERY="Sample">
To: #HTMLEditFormat(Sample.TO)# <BR>
From: #HTMLEditFormat(Sample.FROM)# <BR>
Subject: #HTMLEditFormat(Sample.SUBJECT)# <BR>
Date: #HTMLEditFormat(Sample.DATE)# <BR>
ReplyTo: #HTMLEditFormat(Sample.replyto)# <BR>
</CFOUTPUT>
When I output the header information as in the code above, the replyto
field shows up empty in all cases, even where the sender has provided a
reply-to address. All the other fields show up fine, however.
I have three questions :
1. Why can't I get the replyto header values ? All the other information is
being output properly. I tried removing the HTMLEditFormat around the field
name, and also tried replacing it with URLEncodedFormat. Neither helped.
2. I need my schedule to log into my POP Server every 15 minutes and
download header information, logging it to a SQL Server table. Now I do not
want to delete messages from the POP Server after having read the header
information. Is there any other way that I can make sure that one cycle
does not end up reading any message headers already read in the previous
cycle ?
3. If I log into the POP Server every 15 minutes for downloading header
information, what kind of performance overhead do I place on my production
server ? Also, how reliable is CFPOP for this kind of heavy activity ?
Vishal.
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists