Need to get Email to MySQL ?

Associate
Joined
18 Oct 2005
Posts
158
Location
Kendal
Hi Guys,

I have a project that I am struggling to work out. I have a register1 hosted account VDS Pro.

I am going to be receiving an email each day that will contain a name a number and two word description.

I need for this email to be parsed and then added in three separate fields to the mysql database.

Does anyone know how to do this ?

Thanks

Shorty
 
either run a cron job that polls your incoming mail server (pop3 or imap) or if you're using qmail use a .qmail file that pipes incoming mail into the parse/insert script.
 
Hi philjohn,

Thanks for the response I dont think the host uses qmail, can you elaborate on using a cron job, do you know of anywhere that has examples of using cron in this way ?

Thanks

Shorty
 
Back
Top Bottom