Ive got another project that i thought you might be interested in..
Its quite similar to the last - using phpmailer
Ive been learning a bit of php myself and ive written a basic script that selects a random image from a directory called /image.
Then attaches that image to an email, sets the body message and sends it to a tumblr email address.
What im trying to do is send the emails to tumblr to save them as a blog post - using their feature [url removed, login to view]
So far ive got the script working and sending to my email address fine, but when i send it to tumblr it seem to work
Thats the part i need help with.
The only other part is i wanted to set an conditional that if the image is sent successfully in the email i want to delete it from the /images directory so that it wont be sent again.
Ive attached the script im using so far.