Page MenuHomeDevCentral

Improve Mailgun integration
ClosedPublic

Authored by dereckson on Nov 11 2015, 14:12.
Referenced Files
F44689038: D45.diff
Tue, Aug 18, 06:16
F44503591: D45.id120.diff
Mon, Aug 17, 09:35
F44503467: D45.id106.diff
Mon, Aug 17, 09:34
Unknown Object (File)
Sun, Aug 16, 21:17
Unknown Object (File)
Sun, Aug 16, 15:57
Unknown Object (File)
Thu, Aug 13, 12:32
Unknown Object (File)
Thu, Aug 13, 12:32
Unknown Object (File)
Thu, Aug 13, 12:31
Subscribers
None

Details

Summary

Environment variables kept:

  • PHABRICATOR_USE_MAILGUN: if set, enable Mailgun as default mailer
  • PHABRICATOR_DOMAIN: if set, use it as Mailgun domain

New environment variable:

  • PHABRICATOR_MAILGUN_APIKEY: if set, store it in the configuration

You can so get a fully functional Mailgun integration with these three parameters
to your docker run line:

-e PHABRICATOR_USE_MAILGUN 1 \
-e PHABRICATOR_DOMAIN phabricator.domain.tld
-e PHABRICATOR_MAILGUN_APIKEY secretapikey

Test Plan

test a container with these 3 parameters

Diff Detail

Repository
rDPHAB Docker image for Phabricator
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
arcpatch-D45
Build Status
Buildable 42
Build 42: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to Improve Mailgun integration.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: Sandlayth.

This should be documented in user documentation as well.

Pending D40 merged to edit README.md.

  • Rebased against D40
  • Added documentation for Mailgun
This revision is now accepted and ready to land.Nov 15 2015, 00:06
This revision was automatically updated to reflect the committed changes.