This content has been marked as final. Show 4 replies
To check an email account use the cfpop tag. Then get the attachments with cffile.
To have this task repeated on a regular basis set up a scheduled task with cfschedule.
thats a good plan, thanks bob.... since those email addresses wont be very public shouldnt be much to check.
Do you know if cfpop and cffile are very heavy tasks? Like say if I hade one email address per user account and checked them every 5 minutes would that create a ton of overhead?
I've never had performance issues with cffile, but haven't used cfpop in production. I'd do some tests in a realistic test environment. If you expect this feature to be used heavily you might consider writing a windows service or daemon, depending on your environment, to do this work instead of using ColdFusion.
cool, i use cffile alot for importing my xml setting but dont use cfpop i will try this tonight for sure.. I run linux so i was fixin to set up a crazy shell script to do all this on cron or utilize the javamailapi but im going to try this first
have a great day !