问题
I have been looking for some time now but i cannot really find a good way to process an emial box using a hosted solution as justhost or asphost . Now my instinct tells me to write a service .. but i cant install it on either hosts.
Is there any other clever way to over come this problem using any thing from PHP to .NET?
回答1:
Assuming your webserver is running *nix, you should use crontab
to create a cronjob that'll run automatically at your specified times.
If your server is running any form of Windows, you'll have to use Windows Task Scheduler.
来源:https://stackoverflow.com/questions/7102949/how-to-poll-email-with-hosted-solutions-php-or-asp