Jump to content

Customer order "status" emails not sending


CHGTF

Recommended Posts

Well after fixing a problem with my "Contact Us" page not sending emails to my email addresses I uncovered another issue.

This issue would be that my customers order "status" emails are not sending to my customers. It’s being blocked or otherwise denied delivery to my customers and I don’t know why.

 

Example: Order placed - customer is supposed to get an email.

This appears in my site email address after every instance an email is to be sent:

"Mail Delivery System - 11:27 AM - Mail delivery failed: returning message to sender"

 

This is supposed to happen when the order is placed, when the order is paid for, and when I place the order as complete. All three things cause emails to be sent. So I am getting three failed to send emails for every single order I have had in my site since I upgraded to CC5.

 

My email account had more then 500+ emails all saying the same thing.

 

What might be the issue? Are all my emails being blocked by every email provider out there?

Link to comment
Share on other sites

An NDR must have more information. There must be the cause listed for the delivery failure and what computer sent the NDR.

 

Regarding the message:

"Mail Delivery System - 11:27 AM - Mail delivery failed: returning message to sender"

Is this truly all that there is?

 

"Are all my emails being blocked by every email provider out there?"

 

Well, not mine. We tested that.

 

If all of the 500+ failure messages are composed the same way, then there must be a single point of rejection. The contents of an NDR are not specified by any committee or authority. But the failure reason codes are. (In my previous life, I dealt with hundreds of NDRs.)

 

 

By the way, unless you have modified the code, CubeCart does not send an email to the customer when the order goes to Pending.

Link to comment
Share on other sites

The previous info was the emails title - this is the contents of the actual email:

 """

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:

  [email protected]
    SMTP error from remote mail server after end of data:
    host mta6.am0.yahoodns.net [98.138.112.33]: 554 5.7.9 Message not accepted for
policy reasons.  See http://postmaster.yahoo.com/errors/postmaster-28.html

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from name by gator.hostgator.com with local (Exim 4.82)
        (envelope-from <[email protected]>)
        id 1Xiswv-0000TU-MU
        for email@email.com; Mon, 27 Oct 2014 17:39:41 -0500
To: [email protected]
Subject: Order Confirmation #141027-223504-4170
X-PHP-Script: timesforgottendvd.com/index.php for 50.151.18.167
Date: Mon, 27 Oct 2014 22:39:41 +0000
From: My Store <[email protected]>
Message-ID: <[email protected]>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: multipart/alternative;
        boundary="b1_9d7f0058252fe2243b652aabbe52457e"
Content-Transfer-Encoding: 8bit

--b1_9d7f0058252fe2243b652aabbe52457e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Thank You name!
       
        Your order ##### has been received which was placed on Oct 27
2014, 22:39 PM. Please keep this email for your records. It is possible to
view the status of your order online.
       
        https://timesforgottendvd.com/index.php?_a=vieworder&cart_order 
       
        ----------------------------------------------------------------------
        Billing address:
        adress line info
        adress line info
        adress line info
        adress line info
       adress line info
        adress line info
        adress line info
       
        Email:
        [email protected]
       
        Shipping address:
        adress line info
        adress line info
        adress line info
        adress line info
        adress line info
        adress line info
       
        ----------------------------------------------------------------------
        Items in Your Order
       
                -----------------------------------
        product (Uncut)
       
       
        Part Number: #####
        Unit Price: $$$$$$
        Qty: #
       
                -----------------------------------
        Subtotal: $$$$$$
        Discount: $$$$$
        Shipping: $$$$$ (Standard)                --------------------------
        Order Total: $$$$$
        ==========================

Kind regards,

The Times Forgotten Staff
https://timesforgottendvd.com


--b1_9d7f0058252fe2243b652aabbe52457e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
html, body, table {
        font-family: Arial;
        font-size: 14px;
}
</style>
<title>Default HTML Template</title>
<base href="https://timesforgottendvd.com" />
<base href="https://timesforgottendvd.com" />
</head>
<body bgcolor="#f7f7f7">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody>
    <tr>
      <td align="center"><table bgcolor="#ffffff" border="0" cellpadding="15"
cellspacing="0" width="580">
          <tbody>
            <tr>
              <td><a href="https://timesforgottendvd.com"><img alt="Times Forgotten"
border="0"
src="'>"
/></a></td>
            </tr>
            <tr>
              <td> <p>Thank You Lindsay!</p>
        <p>Your order ##### has been received which was placed on Oct
27 2014, 22:39 PM. Please keep this email for your records. It is possible
to view the status of your order online.</p>
        <p><a
href="https://timesforgottendvd.com/index.php?_a=vieworder&cart_order_id=141027-223504-4170">https://timesforgottendvd.com/index.php?_a=vieworder&cart_order_id</a></p>
        <table width="100%">
        <tr>
        <td valign="top" width="50%"><strong>Billing address:</strong><br />
        adress line info<br />
                adress line info<br />
                adress line info<br />
        adress line info<br />
        adress line info<br />
        adress line info<br />
        adress line info 5<br />
        <br />
        <strong>Email:</strong><br />
        [email protected]</td>
        <td valign="top" width="50%"><strong>Shipping address:</strong><br />
        adress line info 1br />
        adress line info 2<br />
        adress line info 3<br />
        adress line info 4<br />
        adress line info 5<br />
        United States</td>
        </tr>
        </table>
        <table border="0" cellpadding="3" cellspacing="0" width="100%">
        <tbody>
        <tr>
        <td><strong>Item</strong></td>
        <td><strong>Quantity</strong></td>
        <td><strong>Cost</strong></td>
        </tr>
                <tr>
        <td>(product name)(Uncut) <br /></td>
        <td>1</td>
        <td>$(number)</td>
        </tr>
                <tr>
        <td>&nbsp;</td>
        <td> Shipping: (Standard)</td>
        <td> $(number)</td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td> Discount:</td>
        <td> $0.00</td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td> Subtotal:</td>
        <td> $(number)</td>
        </tr>
                <tr>
        <td>&nbsp;</td>
        <td><strong>Order Total: </strong></td>
        <td><strong>$(number)</strong></td>
        </tr>
        </tbody>
       
        </table></td>
            </tr>
            <tr>
              <td><p> Kind regards,</p>
                <p> The Times Forgotten Staff<br />
                  <a
href="https://timesforgottendvd.com">https://timesforgottendvd.com</a></p></td>
            </tr>
          </tbody>
        </table></td>
    </tr>
  </tbody>
</table>
</body>
</html>



--b1_9d7f0058252fe2243b652aabbe52457e--
"""


I removed some names and values just for informational sake purposes - the actual info on each email obviously pertains to each individual order.

Link to comment
Share on other sites

"Are all my emails being blocked by every email provider out there?"

 

Well, not mine. We tested that.

 

 

 

Correct - but those were from the "Contact us" form - that works now - these are from the ordering process in general - which a email is sent during certain steps (which I know you are aware of) but those emails are not working.  

 

By the way, unless you have modified the code, CubeCart does not send an email to the customer when the order goes to Pending.

 

Correct - I am receiving email returns on orders placed and orders "complete" status that I know of for sure.

I was under the impression that three emails go out for each order

1> Order placed initially.

 

2> Order paid for (which in most cases happens at the same time because my only payment process right now is paypal)

So I may only be getting 2 per order but I have not checked 100%

 

3> Order being changed to complete in Cube Cart.

 

But again the order placed and order complete emails regardless are failing. Why?

Link to comment
Share on other sites

"Failed for Policy Reasons." The "smoking gun", so to speak.

 

Yahoo says, "In almost all cases, we recommend that you switch to sending mail from your own domain."

 

I don't know if this will work (but the rest of my response will work), but try using a timesforgottendvd.com email address for the store's general email address, and in each administrator's profile. That is to say, do not use aol.com.

 

Finally, for the timesforgottendvd.com domain, access the domain zone record control panel. This will be at the provider who registered your domain name (seems to be hostgator). You really should create a "Sender Policy Framework" (SPF) record. Hostgator should have a "wizard" that will guide you through creating your SPF record.

 

Finally, you should also have (and hostgator really should have set this up) two very important email addresses: postmaster@ and abuse@ configured in your cPanel utilities for managing your domain's email.

Link to comment
Share on other sites

As for the emails:

 

1> Order placed initially (Pending)

Only to the admin(s) depending on store settings

 

2> Order paid for (Processing)

To the admin(s) depending on store settings

To the customer - order received

To the customer - payment received (may depend on the gateway)

To the customer - if a digital product, the link to download

 

3> Order being changed to complete (Completed)

To the customer - expect order to arrive (mods exist to add tracking number)

Link to comment
Share on other sites

  • 2 weeks later...

@Dirty Butter

Ok I checked that - checked my "SPF record" and see all the data it told me to see (I think) but I have no idea if its good or bad or indifferent.

 

I think its the main email account that was used for the main email address for the web site years and years ago - "AOL" 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...