apzentral / ink
PHP Mailer with responsive email templates engine.
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: >=5.3.3
- swiftmailer/swiftmailer: v5.1.0
This package is not auto-updated.
Last update: 2024-04-13 14:34:26 UTC
README
PHP Mailer with responsive email templates engine.
Examples,
-
Just Instantiate Mailer Object.
$mailer = new apzentral\ink\Mailer;
-
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
- Ink from Zurb: v 1.0.5