Page MenuHomePhabricator

emailing via API seems to be broken
Closed, ResolvedPublic

Description

Whenever I attempt to use the API to email someone (action=emailuser), I get the following response:

{"emailuser":{"result":"Failure","message":{"ok":true,"value":null,"successCount":0,"failCount":0,"errors":[],"cleanCallback":false}}}

I've checked to make sure I'm using a valid email token and that the target has an email address registered. And I'm doing a POST rather than a GET. Not sure what else could be the problem.


Version: unspecified
Severity: normal

Details

Reference
bz27862

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:33 PM
bzimport set Reference to bz27862.

Nevermind, it seems to send the emails anyway.

re-opening, returning failure on success is still a form of brokenness. It looks like bug was introduced in r77714.