Page MenuHomePhabricator

Add a Postmark API client
ClosedPublic

Authored by epriestley on Feb 6 2018, 5:17 PM.
Tags
None
Referenced Files
F19207925: D19008.id45573.diff
Tue, Dec 16, 10:39 PM
F19073576: D19008.diff
Mon, Dec 1, 2:31 AM
F19073390: D19008.diff
Mon, Dec 1, 1:47 AM
F19020824: D19008.id.diff
Nov 23 2025, 6:21 PM
F19002063: D19008.diff
Nov 21 2025, 4:45 AM
F18831956: D19008.id45595.diff
Oct 25 2025, 5:42 PM
F18807750: D19008.id45573.diff
Oct 19 2025, 3:21 AM
F18799230: D19008.id.diff
Oct 17 2025, 12:46 PM
Subscribers
None

Details

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);

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 7 2018, 10:41 PM
This revision was automatically updated to reflect the committed changes.