Komi Dumity
Komi Dumity

Reputation: 308

Receive (not forward) e-mail using Mailgun

I want to use Mailgun to send/receive messages programatically via API.

BUT I need to have also some mailboxes available using Thunderbird or other mail client.

For example I want to have user mailboxes at:

And all other e-mails will be for API send/receive.

I can not forward my mail to GMail because I need to reply from the same address ([email protected]).

Please help.

Upvotes: 13

Views: 6520

Answers (2)

Deep Prakash
Deep Prakash

Reputation: 23

You need to configure your MX record settings for your subdomains in your DNS control panel.

Upvotes: 0

API_sheriff_orlie
API_sheriff_orlie

Reputation: 1273

There is a limitation to using the routing feature and that is that if you delegate a domain to be used by Mailgun you cannot use it with an email client. That means that, for example, if you want to route emails to [email protected] and then still use that email address with your favourite email client (be it Thunderbird, Outlook or Gmail) you can't do it. That is because of the way you've configured your MX records (email records in your DNS).

When you use Mailgun's routing functionality you delegate MX records to mailgun, which receives your emails, parses them and routes them according to your preferences.

So how do we solve your problem? What you can do instead is set up your MX record on a subdomain.

Using subdomain.mydomain.com and pointing its MX records to mailgun will allow you to receive and parse emails through Mailgun.

This way you can have:

while

will be handled normally with your email client.

Please do not hesitate in asking more details!

Upvotes: 17

Related Questions