Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Emails appear blank in Yahoo

Tags:

email

Im trying to install a good newsletter script for some basic email marketing. The thing is that my yahoo just dont want to display HTML emails. I sent some html test emails to myself through several scripts and from my yahoo account aswell,but all appear blank.

It's quite odd because my magento's html emails are being received correctly,but others [ and even YAHOO emails! ] arent.

Does anyone know why is this happening?

like image 248
DanCapitanDePlai Avatar asked Nov 05 '22 00:11

DanCapitanDePlai


1 Answers

  • Changed the content type and encoding in the settings for each of the velocity templates to HTML / UTF-8
  • Added a to each of the emails with the standard charset="UTF-8" declaration. Maybe Yahoo doesn't strip out the head like most other email clients.
  • Added the HTML 4.01 strict declaration to the top of the email:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

like image 139
javaauthority Avatar answered Nov 09 '22 10:11

javaauthority