Mail to mysql database in PHP Server Side Scripting Language?

editAnswer

reportReport

Answer(s) available: 1

Bhushan Suri

, Truck Driver, Light Duty, Construction German Mechanical Engineering Business Systems

"

If your server doesn't have imap but you have an outside system which does have cron you can write a page that checks the email account and loads the data into MySQL then set up a script on a machine that does have cron to wget the mysql page once every X minutes where X is how frequently you want to load data.

"

Alternately if you know the emails will load quickly you can set up small one field table in your DB with a time stamp. Each time your PHP script runs it checks the time stamp and if it's more than 5 minutes old it calls the email loading script before loading the web page.

"

thumb_upUpvote18

smsComment

reportReport