How to resend dropped emails in mailgun?
I am using mailgun to send mails in my application,but some mails are dropped. Is there any method to resend the dropped mails?
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.
5,000 messages/month are included. 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.
TextMagic, also a Mailgun customer, allows you to send notifications, alerts, reminders, confirmations and SMS marketing campaign messages to your customers, staff members and suppliers. On average, TextMagic customers are sending over 2.5M text messages around the world each month.
You can resend a message with Mailgun via their control panel and through their API. But it's only available for messages that have an associated event-type of "delivered" or "permanent fail" and are also not more than your domain's message retention period (3 days for most, I think).
API:
See their docs:
curl -s --user 'api:YOUR_API_KEY' \
https://se.api.mailgun.net/v3/domains/YOUR_DOMAIN_NAME/messages/STORAGE_URL \
-F to='[email protected]'
Control Panel:
The Logs page allows for the resending of individual messages directly within the UI. Simply login to your Mailgun account and go to the Logs tab. Click the dropdown menu cog of any qualifying message and you'll see an option in the menu called "Resend Message"
Clicking that will cause a little popup to appear where you can enter a single recipient address.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With