How to write a custom mail adapter in phabricator?

寵の児 提交于 2020-01-06 03:33:28

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!