I have a situation where I need to use Mime Mail for formatting rather than Mailgun.
Specifically, sending HTML emails from Webform 4.x works best if Mime Mail is used as the formatter. However, when I use Mailgun for delivery, I get the content of the email twice.
First, I get the raw content prefixed with something like this:
This is a multi-part message in MIME format. --6e063c381b751fb38443204983516a08fb2f75711 Content-Type:multipart/alternative; boundary="3df973e62908ca90cb6c2bc5dc7e87d59db6bf510" Content-Transfer-Encoding:8bit --3df973e62908ca90cb6c2bc5dc7e87d59db6bf510 Content-Type:text/plain; charset=utf-8 Content-Disposition:inline Content-Transfer-Encoding:8bit
and suffixed with this:
--3df973e62908ca90cb6c2bc5dc7e87d59db6bf510 Content-Type:text/html; charset=utf-8 Content-Disposition:inline Content-Transfer-Encoding:8Bit
After that, I get the correctly formatted content (i.e. as it looks when formatted and delivered by Mime Mail).
Not sure if it's a Mime Mail issue or a Mailgun issue. Currently having to use Mime Mail for delivery as well as formatting, which defeats the object of installing Mailgun on this particular site.