I'm using Drupal core 8.9.3 and Mime Mail 8.x-1.0-alpha3.
I have installed MimeMail and implemented mymodule_mail hook.
The UI is set to use "Mime Mailer mailer". The UI for Mime Mail is configured to Not 'Link images only', and to use 'Full HTML'.
Emails are sent and display correct html with embedded image tags. However there is a problem with the image being MIME-encoded and included as a message attachment.
The below simplified email only has a paragraph tag enclosing an image tag with a test src as src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png".
Below is the raw email.
Please, any suggestions.
Date: Thu, 20 Aug 2020 01:46:23 +0000 (UTC)
Content-Transfer-Encoding: 7bit
This is a multi-part message in MIME format.
--e3e18d39bfaeb05c93e9fe993b85d9033ac7dadb1
Content-Type: multipart/alternative;
boundary="caf5a2b1e29cb0704a73a98e3c656acf261f57860"
Content-Transfer-Encoding: 7bit
--caf5a2b1e29cb0704a73a98e3c656acf261f57860
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
--caf5a2b1e29cb0704a73a98e3c656acf261f57860
Content-Type: text/html; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://ww=
w.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=
-8">
<title>Mime Mail message template</title>
</head>
<body id=3D"mimemail-body" class=3D"announce-contact-message">
<div id=3D"center">
<div id=3D"main">
<p><img alt=3D"google" src=3D"https://www.google.com/images/brand=
ing/googlelogo/1x/googlelogo_color_272x92dp.png" /></p>
</div>
</div>
</body>
</html>
--caf5a2b1e29cb0704a73a98e3c656acf261f57860--
--e3e18d39bfaeb05c93e9fe993b85d9033ac7dadb1--