apzentral / ink
PHP Mailer with responsive email templates engine.
1.0.0
2014-11-09 17:49 UTC
Requires
- php: >=5.3.3
- swiftmailer/swiftmailer: v5.1.0
This package is not auto-updated.
Last update: 2026-03-15 00:08:42 UTC
README
PHP Mailer with responsive email templates engine.
Examples,
-
Just Instantiate Mailer Object.
$mailer = new apzentral\ink\Mailer;
-
Then just uses
mailmethod 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
- Ink from Zurb: v 1.0.5