PHP-mail-script-compatible-with-osx-apple-mailWe needed a server-side script recently to send emails with attachments from an iPhone App. We’ve chosen PHP because we wanted to keep it as simple as possible (we wanted no dependencies).

The emails sent (and attachments) looked good in a few email systems, until we checked with Mac Mail. Check the image at the left to see how it was displayed. Read on to learn how to solve this issue and see the full code for the script!

Continue reading