i had a brain storm last night and sent the email via phpmailer and viewed what was actually being sent to the server...this format works perfectly now for alternative mail with embedded images.
Content-Type: multipart/alternative; boundary="fae15ab6820aee7cab838cf3b8f5ef37"
Content-Transfer-Encoding: 8bit
This is a multi-part message in MIME format.
--fae15ab6820aee7cab838cf3b8f5ef37
Content-Type: text/plain; charset="utf-8"
plain email here
--fae15ab6820aee7cab838cf3b8f5ef37
Content-Type: multipart/related; boundary="aaf2651d4917027cd4c6a335082910a5"
--aaf2651d4917027cd4c6a335082910a5
Content-Type: text/html; charset="utf-8"
Sever: <span>here is our logo</span>
<img src="cid:logo.png@domain.co.uk" width="
192" height="50" title="Logo" alt="Logo">
--aaf2651d4917027cd4c6a335082910a5
Content-Type: image/png; name="logo8.png"
Content-Transfer-Encoding: base64
Content-ID: <logo.png@domain.co.uk>
Content-Disposition: inline; name="logo8.png"
iVBORw0KGgoAAAANSUhEU.........b0vX7fAAAAAElFTkSuQmCC
--aaf2651d4917027cd4c6a335082910a5--
--fae15ab6820aee7cab838cf3b8f5ef37--
i hope this can help other people out...thank you
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.