coupe-r Posted May 2, 2009 Share Posted May 2, 2009 I am just wondering if someone sends and email to a specific email address, can I populate a database with the date it was sent and the body automatically when it is received? Thanks Link to comment https://forums.phpfreaks.com/topic/156484-when-i-receive-email-can-i-have-php-populate-a-database/ Share on other sites More sharing options...
trq Posted May 2, 2009 Share Posted May 2, 2009 Yes but I wouldn't think php would be the best solution for this. What MDA are you using? Link to comment https://forums.phpfreaks.com/topic/156484-when-i-receive-email-can-i-have-php-populate-a-database/#findComment-824017 Share on other sites More sharing options...
coupe-r Posted May 2, 2009 Author Share Posted May 2, 2009 I don't know what MDA is. Sorry Link to comment https://forums.phpfreaks.com/topic/156484-when-i-receive-email-can-i-have-php-populate-a-database/#findComment-824019 Share on other sites More sharing options...
trq Posted May 2, 2009 Share Posted May 2, 2009 Its your mail delivery agent. The program that actually delivers mail to users on the server. Link to comment https://forums.phpfreaks.com/topic/156484-when-i-receive-email-can-i-have-php-populate-a-database/#findComment-824023 Share on other sites More sharing options...
coupe-r Posted May 2, 2009 Author Share Posted May 2, 2009 HMM, I'm not sure. GoDaddy or another large webserver would be hosting it. If you know how to do it, I will get / buy anything you think I need. Link to comment https://forums.phpfreaks.com/topic/156484-when-i-receive-email-can-i-have-php-populate-a-database/#findComment-824026 Share on other sites More sharing options...
coupe-r Posted May 2, 2009 Author Share Posted May 2, 2009 Would Horde or Squirell work? Link to comment https://forums.phpfreaks.com/topic/156484-when-i-receive-email-can-i-have-php-populate-a-database/#findComment-824030 Share on other sites More sharing options...
ignace Posted May 2, 2009 Share Posted May 2, 2009 You are possibly looking for this: http://chimit.mirrors.phpclasses.org/blog/package/2/post/1-Process-incoming-email-messages-using-PHP.html However there are a few drawbacks to this method for example if your script fails then you will never get that e-mail and no back-up exists.. Link to comment https://forums.phpfreaks.com/topic/156484-when-i-receive-email-can-i-have-php-populate-a-database/#findComment-824083 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.