phpmailer script help

This project was awarded to ASosa for $15 USD / hour.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$2 - $8 USD / hour
Total Bids
Project Description


Ive made a script using phpmailer, that selects a random image from a directory called /image.

It hen attaches that image to an email, sets the body message and sends it to a tumblr email address. (to be posted as a blog post)

What im trying to do is send the emails to tumblr - 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.. im not sure what the problem is i think it might be to do with the content type, but im not sure..

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.

For this project you will need to setup a test email account (running on gmail as mine will be) and using this email setup a test tumblr account, to test the code. The email address used for both the gmail and tumblr account must be the same..


Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online