Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Receive (not forward) e-mail using Mailgun

Tags:

email

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:

  • support@
  • sales@
  • admin@

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.

like image 823
Komi Dumity Avatar asked Oct 06 '14 07:10

Komi Dumity


People also ask

Does Mailgun save emails?

Internally, we store messages for 3 days for scheduled sends, troubleshooting and compliance verification. We're happy to announce that we have exposed this feature in our events API! # View a message using it's Mailgun storage key.

How many emails can Mailgun send at once?

Free plan (no credit card required): There is a limit of 300 messages per day on the included sandbox domain. Data retention for Logs and the Events API is 1 day. You cannot create custom domains. You can only send to Authorized Recipients; and there is a maximum of 5 Authorized Recipients.

Can I use Gmail with Mailgun?

Gmail + Mailgun IntegrationsZapier lets you send info between Gmail and Mailgun automatically—no code required. Triggers when you receive a new attachment (triggers once per attachment). automatically do this!


1 Answers

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!

like image 153
API_sheriff_orlie Avatar answered Sep 22 '22 12:09

API_sheriff_orlie