Hi all,
I have an e-mail piping setup right now, where I will send an e-mail to email@mydomain.com, and it will call /etc/smrsh/email.php, which will parse the e-mail, allowing me to do anything I want to it, including uploading it to my MySQL database.
What I'm trying to do now, though, is to be able to send an attached image to email@mydomain.com, and have a way for the script to save the image to the server, so I can use it later.
The ultimate goal is to have a setup where I use my cell phone to send a picture message to email@mydomain.com, and it will save the picture, make an entry into the database, and finally produce it as a new blog entry, complete with the picture.
Does anyone know how to do this, or if there are any pre-made examples or scripts that I might look at? There seems to be a similar plug-in for the Gallery2 script, but from looking at the code, I'm just not sure how it's done.
In a way, it seems kind of simple. I'm just trying to find a way to handle the attached image, so I can use it later on.
Any ideas or suggestions would be greatly appreciated. Thanks a bunch, guys!
Luke