Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listen/parse on a specific email address

Status
Not open for further replies.

keak

Programmer
Sep 12, 2005
247
CA
Hi there,
I am not sure if this is possible, but is there a way to have PHP listen and parse on a specific email address?

What I am trying to do is to parse datafields in emails sent to a specific email address and convert/enter them into a mysql database.

Thanks! :)
 
listen? not really. but you can set a cron job to query a pop or imap email box on a regular basis.

once you have the data you can parse to your heart's content.

check out for the php manual on the relevant functions.
 
What mail transfer agent are you running? If you are running sendmail, qmail or postfix, you can have your mail system, instead of posting the message to a mailbox, invoke a script and pipe the message to the script.



Want the best answers? Ask the best questions! TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top