Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ini_set('display_errors', 1);
- error_reporting(E_ALL);
- require('postmark.php');
- define('POSTMARKAPP_API_KEY', 'api ey is here');
- define('POSTMARKAPP_MAIL_FROM_NAME', 'Z****');
- define('POSTMARKAPP_MAIL_FROM_ADDRESS', 'noreply@tecn.me');
- debug(Mail_Postmark::DEBUG_VERBOSE);
- $email = new Mail_Postmark();
- $email->addTo('me@zackify.net', 'Zach');
- $email->subject('test');
- $email->messagePlain('will this work?');
- $email->send();
Add Comment
Please, Sign In to add comment