Next Question

Mahalo is adding a tip to all questions that don't offer a tip.
M$1.00 Funded By Mahalo ? |
April 17, 2009 01:33 PM
RSS
I'd personally use a PHP script running as a Cron script on your server, set to run every 5 minutes or however often is needed.
There is an IMAP extension for PHP that will allow you to grab email from your inbox (reference: http://uk2.php.net/manual/en/ref.imap.php), and then you can use standard MySQL connections (http://uk2.php.net/mysql) to insert the gathered information into your database
There is a tutorial on PHP and IMAP available here: http://www.tutorialized.com/view/tutorial/IMAP-Mail-Reading-With-PHP3/649 and I'm sure you'll be able to find loads more by Googling around.
Permalink | Report
Answered Question

Mahalo is adding a tip to all questions that don't offer a tip.
How to forward gmail message to MySQL database?
I want to forward my incoming message from gmail to MySQL db in the hosting server. Is there any way using python? I found a link using python and MySQLdb module(http://danfolkes.com/index.php/2009/01/22/python-grab-email-from-gmail-and-insert-into-mysql-database/), but this doesn't work.
Interesting Question?
Yes (0)
No (0)
- In Web Development |
- |
- Report |
-
Share
RSS
Best Answer Decided by Votes
| April 17, 2009 02:23 PM |
There is an IMAP extension for PHP that will allow you to grab email from your inbox (reference: http://uk2.php.net/manual/en/ref.imap.php), and then you can use standard MySQL connections (http://uk2.php.net/mysql) to insert the gathered information into your database
There is a tutorial on PHP and IMAP available here: http://www.tutorialized.com/view/tutorial/IMAP-Mail-Reading-With-PHP3/649 and I'm sure you'll be able to find loads more by Googling around.
Permalink | Report
Answer this Question
Related Questions
Ask a Question
Buy Mahalo Dollars with Credit Card or PayPal
Top Members
Most Popular Tags
Categories
- Anonymous
- Arts & Design
- Beauty & Style
- Books & Authors
- Business
- Cars & Transportation
- Consumer Electronics
- Coupons Deals
- Education
- Entertainment
- Environment
- Fitness
- Food & Drink
- From Email
- From Iphone
- From Twitter
- Health
- History
- Hobbies
- Home & Garden
- How Tos
- Humor
- Jobs
- Legal
- Local
- Love & Relationships
- Mahalo Answers Community
- Money
- Music
- News
- NSFW
- Parenting
- Pets
- Science & Mathematics
- Services
- Shopping
- Social Science
- Society & Culture
- Sports
- Technology & Internet
- Travel
- Video Games
Welcome New Members
- muhmmadnori, December 08, 2009 12:14 PM
- fb_1041039179, December 08, 2009 12:13 PM
- theartisan, December 08, 2009 12:05 PM
- kayadams, December 08, 2009 12:03 PM
- victormoss, December 08, 2009 11:58 AM
Mahalo Dollars are the currency of Mahalo Answers.
Each Mahalo Dollar costs $1.
Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More