php - Outlook does not display valid embeded images -
i'm sending email using php contains image. know resulting html valid because displays correctly html preview tools.
in outlook 2013, see little red cross. don't security warnings.
<html><head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body id="mimemail-body" class="mimemail-testing"> <div id="center"> <div id="main"> <p>start</p> <p><img alt="red dot" src="data:image/png;base64,ivborw0kggoaaaansuheugaaaauaaaafcayaaacnbyblaaaaheleqvqi12p4//8/w38giaxdibke0dhxgljnbaao9txl0y4ohwaaaabjru5erkjggg=="></p> <p>end</p> <p>s</p> </div> </div> </body> </html>
is there setting in outlook need adjust?
i've tested different images i'm @ loss @ how debug further....
outlook uses word display html, , word not support embedded binary images.
you need attach image regular attachment, set content-id mime header, refer image in html through src attribute: src=cid:xyz, "xyz" value of content-id mime header.
Comments
Post a Comment