transfield Posted August 21, 2012 Share Posted August 21, 2012 Hello, I'm hosting my website on a Linux server. My web host gives me unlimited email accounts. I access my emails using either Horde or Squirrel Mail which is provided to me by my web host as part of my hosting package. I want to import all my incoming emails into a Mysql database. The Mysql database is also provided to me by my web host as part of my hosting package. How do I do that? I am looking for a PHP solution, if possible. I have looked at the control panel provided to me by my web host. There is a feature to 'pipe my emails to a program', whatever that means. A screen shot is attached. Can I use this feature to do what I want to do? If so, how do I do it? Link to comment https://forums.phpfreaks.com/topic/267355-import-emails-into-database/ Share on other sites More sharing options...
trq Posted August 21, 2012 Share Posted August 21, 2012 Yes you can. You would write a cli script, pipe your emails to that, and receive them in the script within $argv[1]. (STDIN). Link to comment https://forums.phpfreaks.com/topic/267355-import-emails-into-database/#findComment-1371011 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.