Gmail – How to write HTML and send as an email

gmailhtmloutlook.comyahoo-mail

I want to send HTML email from my Outlook or Yahoo, Gmail, Hotmail. I wasn't able to find any such option where I could write HTML which will then be rendered at the receiver's end.

How can I do that?

Best Answer

If you want to send HTML emails, you need to use a tool that let you write the content of the email yourself instead of relying on WYSIWYG editors. The most part of mail clients doesn't allow this feature, mainly for security reasons.

With web email clients, such as Gmail, Yahoo or Hotmail, you can try to use the WebKit Inspector (in Safari and Chrome) or Firebug to edit the content of the email directly in the DOM, bypassing the interface restrictions. However, your code is likely to be sanitized by the application and it won't work as expected.

The best solution is to send the emails using a programming language (e.g. mail() in PHP or Pony in Ruby), or a mail service designed to handle HTML content such as MadMimi, Mailchimp, Campaign Monitor...