Notes posted by garethadams
RSS feed
Content type for emails with attachments
Be aware that if you want to send emails with attachments, you probably want to use the content type multipart/mixed for the overall email.
The MIME time multipart/alternative is intended for emails where each part is a different representation of the same message.
After following the 2.3.2 documentation we used multipart/alternative to attach files to our mails, however this then caused Hotmail to ignore the attachments. It turns out it thought they were all alternative versions of the HTML content (which it could already display, so the alternatives weren’t necessary)