• This plugin is the simplest plugin to send HTML and also the only plugin works with Mandrill,

    The issue:
    When the HTML has been added to the setting page and press Save, then:

    1) the following code will be added to the source exactly before </body> tag:
    <script type=”text/javascript”>// <![CDATA[
    (function(){try{var s,a,i,j,r,c,l=document.getElementsByTagName(“a”),t=document.createElement(“textarea”);for(i=0;l.length-i;i++){try{a=l[i].getAttribute(“href”);if(a&&a.indexOf(“/cdn-cgi/l/email-protection”) > -1 && (a.length > 28)){s=”;j=27+ 1 + a.indexOf(“/cdn-cgi/l/email-protection”);if (a.length > j) {r=parseInt(a.substr(j,2),16);for(j+=2;a.length>j&&a.substr(j,1)!=’X’;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}j+=1;s+=a.substr(j,a.length-j);}t.innerHTML=s.replace(/</g,”<“).replace(/>/g,”>”);l[i].setAttribute(“href”,”mailto:”+t.value);}}catch(e){}}}catch(e){}})();
    // ]]></script>

    2) the “http:” will be eliminated from any image url has been used in template . For example, <img src=”http://the-photo-url”&gt; will be <img src=”//the-photo-url”>

    These cause many issues to recipients specially who use Outlook and check emails offline.

    The same issue with all our three servers.

    Any idea?

    https://wordpress.org/plugins/wp-better-emails/

  • The topic ‘Add extra code to HTML and also issue on pictures address’ is closed to new replies.