Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to send html email what to avoid and what not to include?
    primarykey
    data
    text
    <p>Many email clients (world wide target) example: Yahoo/Gmx/Google/Open source webmails + Microsoft Outlook oldest to latest 2011 + Mozilla email client + Other Linux email clients , you can just name it......</p> <p>Does not render my HTML code same as it would show in the web browser while designing or coding. Even few email clients completely put it as SPAM/Junk etc etc.</p> <p>After sending to someone either head or body or legs are broken.... just simply you can say give up its not working...</p> <h1>Question:</h1> <p>For E-Mail, what Html to avoid in template as you can see below, i included almost what i got. Can a email template contain DOCTYPE/META/TITLE/SCRIPT/HEAD/HTML/BODY/DIV/TABLE/P/STRONG/B etc etc ?</p> <p>What is the best practice for HTML E-mail?</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;?php echo $this-&gt;headTitle(); ?&gt; &lt;?php echo $this-&gt;headMeta(); ?&gt; &lt;?php echo $this-&gt;headScript(); ?&gt; &lt;?php echo $this-&gt;headLink()-&gt;prependStylesheet('/css/page.css'); ?&gt; &lt;link rel="shortcut icon" href="/img/pageicon.png" type="image/x-icon" /&gt; &lt;link rel="alternate" type="application/rss+xml" title="SITE Page" href="/rss.xml" /&gt; &lt;style type="text/css"&gt; body { color:#525252; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div&gt; &lt;a href="http://www.site.com"&gt; &lt;img src="http://www.site/log.gif" alt=""/&gt; &lt;/a&gt; &lt;/div&gt; &lt;img width="881" src="http://www.site.com/fashion.png" alt=""/&gt; &lt;div class="content"&gt; &lt;?= $this-&gt;layout()-&gt;content; ?&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload