HTML emails

Some notes from my recent visit to HTML emails.

Gmail clipping

Gmail considers any emails with an HTML file size over 102 Kb to be too long. So it clips it and displays the message below at the cut-off point.

VS Code minify extension

Great for minification of HTML – Minify your js, css and html files to save transmit bandwidth.

Outlook

Outlook doesn’t use HTML as a rendering engine, instead it uses Word. So HTML gets altered when used in Outlook.

Background images for outlook

  <v:image xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style=" border: 0;display: inline-block; width: 600px; height: 515px;" src="background.src" />
  <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style=" border: 0;display: inline-block;position: absolute; width: 600px; height: 515px;">
    <v:fill  opacity="0%" color="#f7901e"  />
    <v:textbox inset="0,0,0,0">
      <![endif]-->


</v:textbox>
    </v:fill>
  </v:rect>
  </v:image>
  <![endif]-->