Chiquita Kerur
Chiquita Kerur

Reputation: 43

How to write a custom mail adapter in phabricator?

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!

Upvotes: 1

Views: 297

Answers (1)

Chad Little
Chad Little

Reputation: 873

run arc liberate to build a new library map, so your new class can be found by Phabricator.

Upvotes: 2

Related Questions