Skip to main content
Mailgun events are tracked with specific event type IDs in SendPost, allowing you to distinguish between native SendPost events and Mailgun events.

Mailgun Event Types

MG Processed (ID 48) is generated by SendPost when the message is successfully submitted to Mailgun, not from a webhook event.

Bounce Type Details

Mailgun categorizes bounces based on the severity field in the failed event:
Permanent failure indicated by severity: "permanent". This includes invalid email addresses, non-existent domains, or permanent rejections. These addresses should be removed from your list.
Temporary failure indicated by severity: "temporary". This includes full mailboxes, temporary server issues, or rate limiting. Mailgun may retry these automatically.

Event Data

Each Mailgun event includes:
  • Message ID (for correlation)
  • Recipient email
  • Timestamp
  • SMTP response code and message (for bounces)
  • User agent (for opens)
  • Client IP address (for opens/clicks)
  • Clicked URL (for clicks)
  • Mailgun-specific IDs

Bounce Status Information

Mailgun provides detailed delivery status in the delivery-status field: Example SMTP Codes:

Event Type Quick Reference


Next Steps