Page 1 of 1

PHP Receive Mail and Attachment

Posted: Tue May 31, 2005 6:28 pm
by octavarium
I'm having trouble figuring out how I would even get started on code where you could email a file to your account, which would trigger a script and the script would get info from the email, get the attachment and put it in a directory. Is it possible to coordinate incoming mail with scripts?

Posted: Wed Jun 01, 2005 3:01 am
by ddragas
How about upload form. It is much easyer to make upload form and control files that have been uploaded?

Posted: Wed Jun 01, 2005 4:24 am
by timvw
It's possible, but i would'nt use php for it.

1-) Fetching the e-mail can be done with "fetchmail"
2-) Use "procmail" to handle the e-mail


I think http://pm-doc.sourceforge.net/pm-tips-body.html is a good starting point for finding a workign solution ;)