Page MenuHomePhabricator

Add a Postmark API client
ClosedPublic

Authored by epriestley on Feb 6 2018, 5:17 PM.
Tags
None
Referenced Files
F18746673: D19008.diff
Fri, Oct 3, 1:09 PM
F18566561: D19008.id.diff
Tue, Sep 9, 2:43 PM
F18502069: D19008.diff
Sep 4 2025, 10:10 PM
F18180650: D19008.id45595.diff
Aug 16 2025, 6:31 AM
F18025954: D19008.id.diff
Aug 2 2025, 9:56 PM
F17941414: D19008.diff
Jul 31 2025, 5:25 AM
F17858898: D19008.diff
Jul 27 2025, 8:08 PM
Unknown Object (File)
Jun 15 2025, 10:01 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.