PHP Mailer with responsive email templates engine.

1.0.0 2014-11-09 17:49 UTC

This package is not auto-updated.

Last update: 2024-04-13 14:34:26 UTC


README

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