PHP Receive Mail and Attachment
Moderator: General Moderators
-
octavarium
- Forum Newbie
- Posts: 1
- Joined: Tue May 31, 2005 6:25 pm
PHP Receive Mail and Attachment
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?
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
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