I’ve had success with exactly the same headers as you’re using, with the following differences:
-
Embedded
is not a valid value for theContent-Disposition
header.attachment
should be fine.inline
should also be fine, though I’ve usually seenattachment
formultipart/related
embedded images. -
The value of the
Content-ID
header 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.