Skip to content

Simple html editor that verify the compatibility or the genrated html with email clients

Notifications You must be signed in to change notification settings

fcroiseaux/html-mail-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

html-mail-composer

Simple html editor that verifes the compatibility of an html portion of code with email clients and returns:

  • a version of the html code compatible with email clients
  • a plain text version
  • eventually the list of warnings

in a json structure

{
   "html": "the correct html version",
   "plain_text": "the plain text version",
   "warnings": ["first warning", "second warning"]
}

The server side uses sinatra and premailer ##Installation ###Install RDOC gem install rdoc ###Install Sinatra gem install sinatra ###Install premailer gem install premailer ##Start program ruby prem.rb

Connect to http://localhost:4567/mailer.html

About

Simple html editor that verify the compatibility or the genrated html with email clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published