Question
How do I set up DNS for inbound emails?
I would like to parse inbound emails in a Node.js app on an Ubuntu 14.04.4 x64 Droplet, so I’m trying to create an email address for my app’s domain that can post to a webhook. How do I create an email address like name@example.com
(or name@subdomain.example.com
)?
For parsing, I am using Mailin.io, and following Mailin’s documentation I have changed my Domain records on Digital Ocean as follows:
MX 10 subdomain.example.com
A subdomain [ip address of my droplet]
I have the webhook set up at http://www.example.com/webhook
, and if I post using curl
, I get the expected response, but I can’t figure out how to post to the webhook via email.
Am I going about this the right way?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×