<application>_incoming_mail_controller endpoint function must end in ok. #262

kotedo opened this Issue May 16, 2013 · 3 comments


None yet
2 participants

kotedo commented May 16, 2013

If the incoming endpoint (read "fake" email address) function doesn't terminate with the atom ok. then the server will resend the response until the server is being shut off.

As of now, the only valid responses are:

{error, Reason}.

By default, the function returns {ok, Pid} which leads to the aforementioned reason because there is no case clause that handles it.



zkessin commented Dec 9, 2013

Trying to track down this error. Is this in the template generated files or somewhere else? can you be a bit more specific on what is causing the problem?


kotedo commented Dec 25, 2013

What this means is that if you don't manually end the emailing function in "ok" rather than {ok, Pid}, then it is being understood as a transmission error and the message is getting resend. That repeats until you kill the app.

I ended up with over 50 emails of the same kind by this bug.

zkessin was assigned Jan 7, 2014


zkessin commented Jan 26, 2014

is this now fixed?

zkessin was unassigned by danikp Oct 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment