如何在phabricator中编写自定义邮件适配器? [英] How to write a custom mail adapter in phabricator?
问题描述
我正在尝试在 phabricator 中编写一个自定义邮件适配器。我在这个路径中编写了自己的A类 phabricator> src>应用程序> metamta>适配器> A.php 。
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.
PhabricatorMailImplementationAdapter并将其设置在我的set metamta.mail-adapter中。
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!
推荐答案
运行 arc liberate
构建一个新的库地图,所以你的新类可以由Phabricator发现。
run arc liberate
to build a new library map, so your new class can be found by Phabricator.
这篇关于如何在phabricator中编写自定义邮件适配器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!