2017 © Pedro Peláez
 

library html2mail

A package to convert the css classes in styles.

image

tokenpost/html2mail

A package to convert the css classes in styles.

  • Friday, March 13, 2015
  • by Tacnoman
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Html2Mail

Library like Premailer (ruby) to render better your html template in email marketging., (*1)

require 'vendor/autoload.php';
use Html2Mail\Client;

$body = file_get_contents('path/to/my/html/file.html');
$page = new Client($body);
$page->premailer(); // Changing the tag <style> to style attributes
echo $page;

It's simple like this xD, (*2)

Bug report

Renato Cassino renatocassino@gmail.com, (*3)

The Versions

13/03 2015

dev-master

9999999-dev

A package to convert the css classes in styles.

  Sources   Download

MIT

The Requires

 

email marketing php html premailer tokenpost