MarketSmart
My feedback
2 results found
-
5 votes
MarketSmart
supported this idea
·
An error occurred while saving the comment -
43 votes
An error occurred while saving the comment
MarketSmart
commented
Show custom headers in the events api to help identify emails sent.
Sometimes mailgun will trigger a 5XX error for some emails sent through the api but still receive and send that email. I have verified this in the logs. I have a customer header I use in my emails X-MS-ID=someid I use to identify emails. I can use the search api to find and identify emails which I don't have an id for and prevent sending duplicate emails resulting in user complaints.
https://documentation.mailgun.com/en/latest/api-events.html#event-structure
MarketSmart
supported this idea
·
function verify() bool{
someDomainIps = [PublicPool = false, 123.123.123.123 = false, 124.124.124.124 = false]
while someDomainIps as ip {
if ip = PublicPool && hasInclude("mailgun.org"){
ip = true
}elseif hasIP(ip)
ip = true
}else{
return false
}
}
return true
}
Something like this would be fine, instead of just blindly checking only for mailgun.org