These are 2 emails sent
FROM Woocommerce with PHPMailer 5.2.14
VIA Zoho's smtp
TO Gmail.
One is sent as
multipart/alternative
SMTPS id 1472887925932653.1288036547104; Sat, 3 Sep 2016 00:32:05 -0700
Message-ID: 2794079fbfa406a809a82a690ab1f488
One is sent as
text/html
SMTPS id 147289704238276.96960297971964; Sat, 3 Sep 2016 03:04:02 -0700
Message-ID: 11b0666e538f89fb1fb1a757a91292ec
The only difference between these mails are the Content Type and the html in the body of the second one.
The one sent as multipart/alternative gets a verified DKIM signature, but the one sent as text/html does
NOT, by Google (
body hash did not verify).
So Zoho is doing something to the html email after it has signed it? I would like to know what and why. Either I have to fix something or you need to do it at your end. As far as I can see it you use c=relaxed/relaxed in your signature, isn't that suppose to deal with this?
multipart/alternative Email:
----------------------------------------------------------------------------------
X-Mailer: PHPMailer 5.2.14
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_2794079fbfa406a809a82a690ab1f488"
Content-Transfer-Encoding: 8bit
This is a multi-part message in MIME format.
--b1_2794079fbfa406a809a82a690ab1f488
Content-Type: text/plain; charset=us-ascii
TEST
--b1_2794079fbfa406a809a82a690ab1f488
Content-Type: text/html; charset=us-ascii
TEST
--b1_2794079fbfa406a809a82a690ab1f488--
text/html Email:
----------------------------------------------------------------------------------
X-Mailer: PHPMailer 5.2.14
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<title>XXXXXX</title>
</head>
<body>
Only removed some HTML here...
</body>
</html>
----------------------------------------------------------------------------------