In my application im using mailgun module to send and receive emails using node.js.I don't know how to receive the incoming emails.I created route to receive the incoming email.but its not working.
Asked
Active
Viewed 2,325 times
2

MAAAAANI
- 186
- 1
- 10
-
Follow this steps provided in my answer to same question: http://stackoverflow.com/questions/38019907/how-to-receive-emails-with-mailgun-in-node-js/38020533#38020533 – Jeka Jun 24 '16 at 19:11
2 Answers
0
Mailgun is simply posting URL encoded form data.
Check out this discussion on receiving POST data in node.js: How do you extract POST data in Node.js?

Community
- 1
- 1

Travis Swientek
- 1,206
- 9
- 14
0
Also it's worth noting that for whatever mail-header-related reasons, if you have mailgun set to forward something to a@b.com, then messages sent from a@b.com will not show up back in your inbox. Send mail from a different address. Note that mailgun can sometimes tell if you're using the Send As feature in gmail, and will know your main address.

MalcolmOcean
- 2,807
- 2
- 29
- 38