apzentral / ink

PHP Mailer with responsive email templates engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ink

PHP Mailer with responsive email templates engine.

Examples,

  1. Just Instantiate Mailer Object.

    $mailer = new apzentral\ink\Mailer;

  2. Then just uses mail method to send out email.

    $subject = 'Hello Mailer'; $from = 'apzentral@gmail.com'; $to = 'apzentral@gmail.com'; $body = '

    Hello Mailer

    This is test email.

    '; $mailer->mail($subject, $from, $to, $body);

Templates Example,

  • Basic Email Body,

    Thank you for using Ink!!!
                    <table class="twelve columns">
                      <tbody>
                        <tr>
                          <td>
                            <h3>Hello World</h3>
                            <p>This is the first email using Ink!</p>
                          </td>
                          <td class="expander"></td>
                        </tr>
                      </tbody>
                    </table>
    
                  </td>
                </tr>
              </tbody>
            </table>
    
          </td>
        </tr>
      </tbody>
    </table>
    

    Libraries Version for Template Engine

    1. Ink from Zurb: v 1.0.5

About

PHP Mailer with responsive email templates engine.

License:Other


Languages

Language:CSS 67.1%Language:PHP 32.9%