How to receive emails with a mail agent in Node.js?

I already use mailgun to send some data via email (my gmail account). Now I want to receive emails using @ mydomain.com

I saw this other question with two answers that seem useless.

I already installed Route , so I get any sending messages to *@mydomain.com* and forward them to my personal email address in gmail:

http://i.imgur.com/VJBz6ij.png

So, I tried to send an email to my personal gmail, but I do not receive any emails.

I have my VPS site in the digital ocean, if that matters.

0
digital-ocean mailgun
source share
1 answer

So I just needed to add MX records to DigitalOcean provided by mailgun here:

http://i.imgur.com/Y4bmJYh.png

(link for more information: https://documentation.mailgun.com/user_manual.html#verifying-your-domain )

Now I send data from another email to example@mydomain.com , and then I receive it.

When I try to send example@mydomain.com data from the same domain that is specified in the direct rule, it does not work, so try having a third email address and you will have problems.

0
source share

All Articles