Jump to content

Emails coming back as mail failure


34Ford

Recommended Posts

I have been having this problem for months now when the store was version 6.1.1 The customer was not getting the email containing the link for digital downloads. I received a email failure for the d/l link.   But I was getting the 2 emails for the order and the Paypal payment. I'm using PHP mail() Function.

So I upgraded my store to 6.4.2. Well now the customer is getting their email with the d/l link just fine, but now the emails explaining the purchase is failing.

Still using PHP mail() Function and if I do a test the email comes to me fine before and after the upgrade. Should I not use gmail and use a email address thru my host?

 

Here is what I get from Gmail.

Quote

A message that you sent was rejected by the local scanning code that
checks incoming messages on this system. The following error was given:

  This message was classified as SPAM and may not be delivered

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

Received: from sxxxxxxo by pcluster20.stablehost.com with local (Exim 4.93)
    (envelope-from <[email protected]>)
    id 1kwIMm-005uuV-Jb
    for [email protected]; Sun, 03 Jan 2021 22:25:16 -0700
To: [email protected]
Subject: New Order #210104-001215-1473
X-PHP-Script: sxxxxxxxxxxxxxxxxxxxxs.com/store/index.php for 173.0.XX.XX
X-PHP-Filename: /home/sxxxxxxo/public_html/store/index.php REMOTE_ADDR: 173.0.XX.XX
Date: Mon, 4 Jan 2021 00:25:16 -0500
From: CubeCart <[email protected]>
Message-ID: <4NUHxXwtHqGGNwgNZwig37MSeQLye0jEd5VDWAo@smokeymountaingraphics.com>
X-Mailer: PHPMailer 6.0.7 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="b1_4NUHxXwtHqGGNwgNZwig37MSeQLye0jEd5VDWAo"
Content-Transfer-Encoding: 8bit

This is a multi-part message in MIME format.
--b1_4NUHxXwtHqGGNwgNZwig37MSeQLye0jEd5VDWAo
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

 

Link to comment
Share on other sites

Switch to use authenticated SMTP rather than phpMail as emails have a much greater chance of deliverability. Always use an email from the domain hosting your store.  After that, it is down to the IP reputation of the IP address your website is on and how good your hosing company is about dealing with issues and how often they let spammers send emails

Ian

Link to comment
Share on other sites

17 hours ago, bsmither said:

It would be interesting to see the headers of the rejection email (not the readable contents of the rejection email).

This? Is it stablehost rejecting them or gmail.?

Quote

Delivered-To: [email protected]
Received: by 2002:a05:6a10:b744:0:0:0:0 with SMTP id w4csp21729pxx;
        Wed, 6 Jan 2021 19:50:36 -0800 (PST)
X-Google-Smtp-Source: ABdhPJzCYzorLaNjpQ0ikF8kW78cjKuUsmTvVUUSNBpaH7AkD1xERi5FEh6wT2+M/t61CHX/Bd9n
X-Received: by 2002:a17:90a:be0a:: with SMTP id a10mr7485181pjs.139.1609991435988;
        Wed, 06 Jan 2021 19:50:35 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1609991435; cv=none;
        d=google.com; s=arc-20160816;
        b=c/PHE0KJw1Ks9fVExqIZiuxdkBOnsO39IUFK0YmkdNjFEbeQGBpV0mYMIvOByE23a+
         TnTJ2LwKKcg54R34v0SYemiaojarKGNQmnWORNjRbsa5HlbXUYM8gyN51LOr59Jf/p+L
         saUQpebIpM8sp+3Ncxl5iLadTGqm+DJ6sqt+kxB3H9RcLI9Bo4gaWmDCevPgXIKnnkJl
         6edQzjd4nmje3Y6eKmVrywO+rmy0Ch3LSY5U+w4Z0WTVekI/sxDRNPepWZVroDa3HpFe
         3sIMNhpWGVIAYUZpsbvVbeXRKiRah6AkvK3hlKvXmTI7iYFzQVhUretlycF949E7CgU5
         q2aw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=date:message-id:subject:references:to:from:auto-submitted;
        bh=4iJbgx4dK6NqwgzmaimR8gjQE5nsEfn55q2UDoDgj94=;
        b=Fjdymw9IfXmACXPlelsmWGVJ/d+YyTxEZ8Ti1d0DjQzaHPmMmEw5aujkZZAbY4Ove8
         O3Z6Xe2OFRzxtpnAK2JUX82asL+f5AusR50Dhf8xRbGBU9kTNF+uIuimaE3FZXjgPtnM
         3TPyJSS82MrKVvsseuGsM/hGOJoUfYU1Lk/nya2qKruDUN60vgzGj832jBngUR4v8NrY
         50KK7sDlV9W3w/S6u7M5fzDxEwHQliEC9VjMjtBmZGswDpcTKeW32gN9QpWf3bM5g1T2
         rMOSJz0KFQT26+y/LH0Lo9sz7/QoWWi19wZE8B8kfW+e9Nr7akWYubFhfRV2adM8y//9
         2VOQ==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: best guess record for domain of [email protected] designates 173.236.5.219 as permitted sender) smtp.helo=h01mx10.reliablemail.org
Return-Path: <>
Received: from h01mx10.reliablemail.org (h01mx10.reliablemail.org. [173.236.5.219])
        by mx.google.com with ESMTPS id z12si945682pjn.41.2021.01.06.19.50.35
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Wed, 06 Jan 2021 19:50:35 -0800 (PST)
Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 173.236.5.219 as permitted sender) client-ip=173.236.5.219;
Authentication-Results: mx.google.com;
       spf=pass (google.com: best guess record for domain of [email protected] designates 173.236.5.219 as permitted sender) smtp.helo=h01mx10.reliablemail.org
X-Halon-Out: 7eea8190-509b-11eb-a316-00163c81f1a9
Auto-Submitted: auto-replied
From: Mail Delivery System <[email protected]>
To: [email protected]
References: <Yxm7ZH4TNaLJoJPCJeU1x2ixB12tJHJTAWUnA4jods@sxxxxxxxxxxxxxxxxxxxxs.com>
Subject: Mail failure - rejected by local scanning code
Message-Id: <[email protected]>
Date: Wed, 06 Jan 2021 20:50:28 -0700
X-OutGoing-Spam-Status: No, score=2.5
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - pcluster20.stablehost.com
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - 
X-Get-Message-Sender-Via: pcluster20.stablehost.com: sender_ident via received_protocol == local: mailnull/primary_hostname/system user
X-Authenticated-Sender: pcluster20.stablehost.com: mailnull
X-Source: 
X-Source-Args: 
X-Source-Dir: sxxxxxxxxxxxxxxxxxxxxs.com:/public_html/store

A message that you sent was rejected by the local scanning code that
checks incoming messages on this system. The following error was given:

  

 

Link to comment
Share on other sites

This is the rejection message from "stablehost". (I am not sure where "reliablemail" comes into play.)

If "stablehost" is your hosting provider, maybe they have an answer.

An alternate approach is to not use PHP mail() but rather use the SMTP server for your gmail account. Gmail will allow an account be enhanced by adding permission to use "smokey mountain" as an extra domain.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...