Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am getting bounce backs when Commerce Invoice Receipt sends messages only to AOL recipients. Is anyone else having this issue? Below is a bounce back.
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
redacted@aol.com
SMTP error from remote mail server after end of data:
host mailin-03.mx.aol.com [149.174.159.98]: 521 5.2.1 :
AOL will not accept delivery of this message.
------ This is a copy of the message, including all the headers. ------
Return-path: <nobody@sitename.com>
Received: from nobody by sitename.com with local (Exim 4.82)
(envelope-from <nobody@sitename.com>)
id 8C6sj6-0008UV4-RD
for redacted@aol.com; Mon, 27 Jan 2014 15:24:13 -0500
To: Anonymous <redacted@aol.com>
Subject: Thank You For Your Order
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8; format=flowed;
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
From: Site Name <redacted@sitename.com>
Message-Id: <8C6sj6-0008UV4-RD@sitename.com>
Date: Mon, 27 Jan 2014 15:24:12 -0500
X-OutGoing-Spam-Status: No, score=1.1
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center" bgcolor="#CCC" style="width:100%; border-spacing: 0; font-size: 12px;"><tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center" bgcolor="#FFF" style="font-family:verdana, arial, helvetica;font-size:10px;width:100%;border-spacing:0;">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family:verdana, arial, helvetica;font-size:11px;width:100%;border-spacing:0;"><tr>
<td nowrap style="line-height:1.6em;background-color:#341b0c;padding:5px;" valign="middle">
<img src="http://www.sitename.com/sites/default/files/logo.png">
</td>
</tr></table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family:verdana, arial, helvetica;font-size:11px;width:100%;border-spacing:0;">
<tr>
<th colspan="2" style="background:#FFF;color:#000;text-align:left;padding:4px 5px;text-transform:uppercase;font-weight:bold;border:0;">Thank you for your order! Your order details are below for your reference:</th>
</tr>
<tr>
<td colspan="2">
<table width="100%" cellspacing="0" cellpadding="0" style="font-family:verdana, arial, helvetica;font-size:1em;width:100%;border-spacing:0;"><tr>
<td valign="top" width="50%" style="padding: 0 5px;">
<br><b>Account No:</b> 0<br><br><b>Order Date:</b> 27 January, 2014<br><br><b>Additional Comments:</b><br><br>
</td>
<td valign="top" width="50%" style="padding: 0 5px;">
<br><b>Web Order No:</b> 359<br><br><b>Email Address:</b> redacted@aol.com<br><br><b>I understand My Likeness may be used by means of various media:</b><br>
yes<br>
</td>
</tr></table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="font-family:verdana, arial, helvetica;font-size:11px;width:100%;border-spacing:0;"><tbody>
<tr>
<td style="border-bottom: 1px dotted #CCC;"><div>
<div>
<p>No line items found.</p>
</div>
</div></td>
</tr>
<tr>
<td><table style="width:200px;border-spacing:0;font-size:12px;padding-top:20px;float:right;"><tbody><tr style="background: none repeat scroll 0 0 #FFFFFF;">
<td style="font-weight:bold;padding:4px 5px;">Order total</td>
<td style="width:100px!important;text-align:right;padding:4px 5px;">$77.00</td> </tr></tbody></table></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td>
<table style="width:100%; border-spacing: 0; font-size: 12px;"><tr>
<td colspan="2" style="background:#341b0c;color:#FFF;padding:1em;font-size:0.9em;line-height:1.6em;border-top:#CCC 1px dotted;text-align:center;">
<p>Site Name. • <a href="mailto:redacted@sitename.com" style="color:#FFF;">redacted@sitename.com</a></p>
</td>
</tr></table>
</td>
</tr>
</table>
</td>
</tr></table>
</div>
</html>
It seems as though the email is stripping the top html, head, and body tags from the bounce back that was given. Not sure if that is the issue or not. The email goes through to all other mail clients so far out of 202 of them so far, just not AOL.
Comment | File | Size | Author |
---|---|---|---|
#10 | removing-mime-encoding.patch | 970 bytes | calbasi |
Comments
Comment #1
BD3 CreditAttribution: BD3 commentedJust an update on this, it looks like hotmail is rejecting them as well.
host mx3.hotmail.com [65.55.37.88]: 550 5.7.0 (COL0-MC2-F35) Message could not be delivered. Please ensure the message is RFC 5322 compliant.
Comment #2
greatmatter CreditAttribution: greatmatter commentedHotmail & AOL have caused us a tremendous number of headaches. We modified our SPF records, DKIM records, and discussed the issue with both SendGrid and MailGun (Rackspace) to get both providers to accept our emails.
Good luck...
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedThis issue isn't really specific to this module. Anyone who runs a private mail server runs into these problems with AOL.
You should make sure your server's IP address is in your DNS SPF records (if you don't have any, you should look into it as it is an easy win).
If you really want to go the extra mile than sign all of your messages using DKIM signatures on the server as they go out.
There is a good chance AOL will still reject them, so good luck.
Fortunately since we're not in USA so it is easy enough for us to say use a different provider for your email...
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #5
HansKuiters CreditAttribution: HansKuiters commentedIsn't something else causing this problem? In the mail message the body starts with
<div>
. I am missingThe message ends with
</body></html>
so shouldn't it starting with the opening tags?Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commented@capono If you have problems in your custom template they can be fixed there. If they are from this module I would probably create another issue specific to fixing the HTML.
As noted in #3, AOL routinely rejects mail from servers that are not configured to send with DKIM. If problems were caused by mail formatting (ie, not transport) you would certainly see the same issue with other providers. This is more of a sysadmin issue if you are having problems with AOL specifically. I can't see any way that a module maintainer will be able to fix sysadmin issues...
Comment #7
HansKuiters CreditAttribution: HansKuiters commented@Ryan: you're right. I should have taken a better look. I created a new issue.
Comment #8
BD3 CreditAttribution: BD3 commentedI just wanted to also post a followup here to my OP, it turns out we had the From field of the emails coming from [site:name] <[site:email]>. Well as it turns out, the Site Name had a comma and a period in it in which Hotmail/AOL did not like this. Removed those and no more rejections.
Comment #9
calbasiHi,
It seems there is a problem with encoding of special characters, like accents é, ~, etc. When they are present at admin/config/system/site-information subject and from mail message fields look like:
From:
=?UTF-8?B?TWF0YXJyYW5pYSB+IENvc23DqXRpY2EgZWNvbMOzZ2ljYSA8aW5mb0BtYXRhcnI=?=
=?UTF-8?B?YW5pYS5jb20+?=
When not:
From: Matarrania Cosmetica ecologica
That was fixed here:
https://www.drupal.org/node/1908318
I'm going to try to patch it now...
Comment #10
calbasiHere you are the patch... I've tested in my site and it runs...
Ps. I think the reason of issue is double encoding...
Comment #11
calbasiComment #12
calbasi