Embeded images in e-mail to bypass client restrictions

Discussion in 'Feature Requests' started by David, Oct 12, 2016.

  1. David

    David Administrator
    Staff Member

    Joined:
    Dec 1, 2015
    Messages:
    781
    Likes Received:
    31
    When you add pictures to the Email template as a simple http:// link to some server where the image is stored in a webserver. <img src="http://server/images/pic.jpg"> Most of the recipient messaging client don’t download automatically external images.

    Best practice is that the image is encoded in a smine/munlitpart message

    For example :

    From: foo1atbar.net
    To: foo2atbar.net
    Subject: A simple example
    Mime-Version: 1.0
    Content-Type: multipart/related; boundary="boundary-example"; type="text/html"

    --boundary-example
    Content-Type: text/html; charset="US-ASCII"

    ... text of the HTML document, which might contain a URI
    referencing a resource in another body part, for example
    through a statement such as:
    <IMG SRC="cid:foo4atfoo1atbar.net" ALT="IETF logo">

    --boundary-example
    Content-Location: CID:somethingatelse ; this header is disregarded
    Content-ID: <foo4atfoo1atbar.net>
    Content-Type: IMAGE/GIF
    Content-Transfer-Encoding: BASE64

    R0lGODlhGAGgAPEAAP/////ZRaCgoAAAACH+PUNv
    cHlyaWdodCAoQykgMTk5LiBVbmF1dGhvcml6ZWQgZHV
    wbGljYXRpb24gcHJvaGliaXRlZC4A etc...

    --boundary-example--
     

Share This Page