Curious about the status of a specific message? Are you wondering why a message failed, or when the "Failed" event occurred? Time to find the Message-ID!
What is it?
The Message-ID functions as a unique identifier for the messages being sent. It is unique to the message itself whether the message contains one or multiple recipients. Even if two messages are sent back to back, their message IDs will not be the same, at least if our system is generating the Message-ID. (Reference: https://en.wikipedia.org/wiki/Message-ID)
Great! Now, why should I care?
Good question! The Message ID is the quickest and most efficient method for viewing all the events associated with a specific message. For example, if you are viewing an "Accepted" event in your logs for a specific message and you want to see when/if a successful "Delivered" event was returned, simply grab the Message-ID from the "Accepted" event and enter it into the search box on your "Logs" tab. This will return ALL the events associated with that specific message, allowing you to view the status of the message as well as the exact time each event occurred.
So, how do I find it?
In your Mailgun Control Panel, select Logs > Find the message you want to review and click on the entry > This will expand the entry with additional details related to the event in question > Scroll down until you find "Message-ID". The ID will be composed of a randomly generated string and the sending domain or host (Similar to an email address). EX: email@example.com.
Protip: Whenever you submit a support ticket regarding a specific message or set of messages, it is always a good idea to provide Mailgun Support with the related Message-IDs. This will allow us to quickly review the message/messages and expedite our investigation, getting you back to business faster!
As always, please feel free to reach out to us if you have any questions. We are always happy to help!