![]() |
| Run script on receiving email... |
|
discogeek
|
I'm not even sure this is a ColdFusion process or something that would be server scripted... Anyone know of a way to process a query whenever an email is received to a particular inbox?
Just to explain a little more... i have a script that will import email content into a mySQL database... it runs twice a day through CFSCHEDULE. But sometimes the boxes get rather full and would probably be more effective to just import and delete as they stream in. Thanks! |
||||||||||||
|
|
|||||||||||||
|
Jason101
Forum Regular
|
You can setup a scheduled task, and create a script that uses <CFPop> to check the inbox for new messages. However, If I recall correctly, CFPop won't be able to tell you what messages have or havn't been read. It will just get you the messages. You would have to keep track of the in a DB table based on each messages unique header.
If it is an exchange server, you can look into CF8's new <cfexhchangemail> tag. Not sure what kind of functionality that wilil give you. I'm not sure you'll be able to accomplish a streaming process without using JAVA or something that is always active. If you need more info, or some help, please let me know. |
||||||||||||
|
|
|||||||||||||
| Run script on receiving email... |
|
||
|


