Add a Postmark API client
Summary: Ref T13053. Prepares to add Postmark support.
Test Plan:
Used this script to send some mail using the client:
#!/usr/bin/env php <?php require_once dirname(__FILE__).'/scripts/__init_script__.php'; $params = array( 'From' => 'epriestley@phacility.com', 'To' => 'epriestley@phacility.com', 'Subject' => 'Words of Wisdom', 'TextBody' => '"Quack Quack", said the duck.', ); $result = id(new PhutilPostmarkFuture()) ->setAccessToken($argv[1]) ->setMethod('email', $params) ->resolve(); var_dump($result);
Reviewers: amckinley
Reviewed By: amckinley
Maniphest Tasks: T13053
Differential Revision: https://secure.phabricator.com/D19008