Skip to content

manumorante/email-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email maker

Ruby Helpers for create compatible e-mail templates. MailChimp.

  • Compatible
  • GH Pages auto hosting
  • Management of urls

Example

<p <%= font %>>Text with default text styles.</p>
<table <%= table %>>
    <tr>
        <td>
        <p <%= font size: '10px' %>>Small text example.</p>
        <p <%= image src: 'brand.png' %>></p>
        </td>
    </tr>
</table>

Use

The default layout is a set of rules valid CSS and HTML to create the basis for our email .

Helpers

IMAGE

image(opts = {})

TABLE

table(opts = {})

FONT

font(opts = {})

SPACER

spacer(opts = {})

Error

error msg

Create a new mail

Create a new folder in /source/emails/ and put here your images and the a file your_mail.html.erb.

Links

Dillinger uses a number of open source projects to work properly:

About

📫 Ruby Helpers for create email templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published