A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2009 yearphp and email interaction - page 1
User InfoPosts
php and email interaction#1
I am working on a futur projects that will get information to a private website not from interface but from email. After some research, posterous.com is doing something interesting, posting on personal blog from email. flickr is doing the same thing with photo attached from email and post it n the server to show off

My question. Where on the net I can find proof of concept or already made script that do

read pop email account at specific interval (each 5 minutes)
extract subject and content of the mail
get attachment photos
save that specific information to file on server

all that can be done with php, but my qualification is not good enough to do that myself, but i can adapt some script for sure !.

posted date: 2009-04-15 03:59:00

Re: php and email interaction#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2009-04-15 03:59:01

Re: php and email interaction#3
I don(t know about existing software, but if you wanted to write your own script, Zend Framework(s Mail component would certainly make things easier.

posted date: 2009-04-15 04:24:00

Re: php and email interaction#4
If you look at something like the Zend Framework(s Zend_Mail libraries - http://framework.zend.com/manual/en/zend.mail.read.html - you(d be in good shape. I(ve been using it for retrieving email for other purposes and it gives you a nice little object with all the headers in an array. Use the data you need and then dump the rest.

posted date: 2009-04-15 04:26:00

Re: php and email interaction#5
Looking around quickly I found two scripts that hold promise:http://www.weberdev.com/get_example-4015.htmlandhttp://www.nerdydork.com/download-pop3imap-email-attachments-with-php.htmlIt looks like both could be modified to suit your needs.

posted date: 2009-04-15 04:27:00

Re: php and email interaction#6
A big tip for dealing with Maildirs on local disk: Zend_Mail_Storage_Writable_Maildir wiil let you delete/update the messages. It's not easily found in the docs though.

posted date: 2009-04-15 04:46:00

select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.