Page MenuHomePhabricator

Add a Postmark API client
ClosedPublic

Authored by epriestley on Feb 6 2018, 5:17 PM.
Tags
None
Referenced Files
F19789489: D19008.diff
Wed, Feb 25, 5:45 PM
F19530119: D19008.diff
Jan 19 2026, 8:47 PM
F19526873: D19008.diff
Jan 18 2026, 8:44 PM
F19525147: D19008.diff
Jan 18 2026, 6:45 AM
F19514786: D19008.diff
Jan 14 2026, 5:01 AM
F19514778: D19008.diff
Jan 14 2026, 4:53 AM
F19514734: D19008.diff
Jan 14 2026, 4:33 AM
F19507721: D19008.diff
Jan 9 2026, 10:42 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.