Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone know how to notify CF of new mail?

Status
Not open for further replies.

nothing

Programmer
Apr 3, 2000
2
GB
Hi.<br><br>Does anyone know how to pass a <b>new</b> e-mail to ColdFusion for processing from a POP account automatically (i.e. without a <FONT FACE=monospace>CFSCHEDULE</font> running a <FONT FACE=monospace>CFPOP</font> query?)<br><br>I've tried setting up a copy of <FONT FACE=monospace>cfml.exe</font> in the cgi-bin and passing the e-mail through a temp file, with a <FONT FACE=monospace>template=</font>... parameter, but that hasn't worked.<br><br>Any ideas?<br><br>Thanks in advance.<br><br>Matt.
 
CFSCHEDULE is the only way I know how to do it... <br><br>I wonder if it's possible to set up an automated procedure in the mail program that would run a template upon receiving mail.<br><br>Let me know if you figure this one out.&nbsp;&nbsp;I'd love to run my mail processing only when I know we've received it....
 
I tried that, but my ISP has disabled programmable e-mail activations.<br><br>So, I've been 'reduced' to setting up a CFSCHEDULE that runs a script that checks the POP box every two minutes, and sends e-mails back.&nbsp;&nbsp;It's actually more reliable that I thought, and less hassle than anything else.<br><br>I managed to write a little REBOL script that did the job, but only ran on my local server when I was on-line, which isn't too practical.<br><br>So, it looks like CFSCHEDULE is the only way to go at the moment...<br><br>Thanks anyway.<br><br>Matt.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top