问题
I'm trying to write a custom mail adapter in phabricator. I wrote my own class A in this path phabricator>src>applications>metamta>adapter>A.php.
I made sure this extends PhabricatorMailImplementationAdapter and set this in my set metamta.mail-adapter .
However on building I get the following error
Usage Exception: Option 'metamta.mail-adapter' value must name a class extending 'PhabricatorMailImplementationAdapter'.
I'm not sure what I'm doing wrong.. Any help is appreciated!
回答1:
run arc liberate
to build a new library map, so your new class can be found by Phabricator.
来源:https://stackoverflow.com/questions/31550951/how-to-write-a-custom-mail-adapter-in-phabricator