I’ve had success with exactly the same headers as you’re using, with the following differences:
-
Embeddedis not a valid value for theContent-Dispositionheader.attachmentshould be fine.inlineshould also be fine, though I’ve usually seenattachmentformultipart/relatedembedded images. -
The value of the
Content-IDheader is supposed to be in the same format as a message-id, which in turn looks very much like an email address.<083.gif@yourmailer>has a better chance of working with most mailers.