Shouldn't it be MailgunHooks.php instead of Mailgun.php?
Mails sent via Mailgun bounced back due to RFC compliance issue.Edit
Mailgun is saying: Failed: postmaster@<DOMAIN> → <EMAIL> 'Account details on <APP NAME>' Server response: 550 550 5.7.1 [188.8.131.52 11] Our system has detected that this message is 5.7.1 not RFC 5322 compliant. To reduce the amount of spam sent to Gmail, 5.7.1 this message has been blocked. Please review 5.7.1 RFC 5322 specifications for more information. n6si3967518qge.102 - gsmtp
- Can you report this as a bug in http://phabricator.wikimedia.org/ with the exact details, and tagging https://phabricator.wikimedia.org/project/view/1424/ as projects.01tonythomas (talk) 15:36, 10 March 2016 (UTC)