All, I've searched the internet but haven't really found anything. Is there a way similar to how facebook just did it to create an email address on your site and then have it automatically upload it your website? Any ideas on how this is possible?
Thanks in advance.
so if you sent files to: treeleaf20@somesite.com
It would upload those files to your account?
Yes, that would work perfectly
For starters:
You'd need to run mail services on your server.
You'd have to create a script to monitor the inboxes.
You'd need some way of authenticating the content.
Is there any kind of script that can pull an attachment from an email? I could probably set up a job to check the inbox every 10 minutes or so but don't know how to get the attachment from an email.
Thanks.
PHP has:
IMAP MAILPARSE
tools that you might find useful... im sure if you google "PHP save email attachment" or similar you'll find more info
Ok, thanks for the info. I've done a little research and I don't think godaddy allows the IMAP or POP with PHP. Do you have any other suggestions on how to do this? I can use the mail() function but I believe that is only to send email, not to check email.
I did find this website: http://codingforums.com/showthread.php?t=59372
Is this ok for POP? Would I be able to save view and read attachments from something like this script?