Blocking mail function in PHP

Avatar
  • Answered
I have been using popular subscribe 2 plugin to send message alerts by email to subscribers when a new post is made to site. However only some people receive emails when a post is made. Everyone appears to receive the test emails and alerts when they've been assigned a user name/password perfectly. This leads me to believe there is prob with PHP portion? I've installed an smtp server plugin, but same problem occurs. Here is error message that site administrator email address receives when the email can't be sent: (I've placed ### marks in place of recipient's name in receiver's email address). Any thoughts on why this would be randomly happening? 05/07/2015 From Subject Date Size Today, 10:53:58 PM UTC Mail delivery failed: returning message to sender from Mail Delivery System [text/plain] Text (3 KB) 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: ###@kc.rr.com SMTP error from remote mail server after RCPT TO:<###@kc.rr.com>: host dnvrco-pub-iedge-vip.email.rr.com [107.14.73.70]: 550 Invalid mailbox: ###@kc.rr.com ------ This is a copy of the message, including all the headers. ------ Return-path: Received: from biz157.inmotionhosting.com ([192.145.239.20]:65192 helo=strat*****dvocateadvisorsllc.com) by biz157.inmotionhosting.com with esmtpsa (UNKNOWN:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YqUg1-0009UR-V2 for ###@kc.rr.com; Thu, 07 May 2015 15:53:58 -0700 Date: Thu, 7 May 2015 22:53:57 +0000 To: ###@kc.rr.com From: Bob Subject: [Strategic ******** Associates, LLC.] new post Message-ID: <8d25e4d2a3dec24835a6457a7efbd037@strat*****dvocateadvisorsllc.com> X-Priority: 3 X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/) Reply-To: Strategic ********* Associates, LLC. Precedence: list List-Id: Strategic ******** Associates, LLC. MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit X-OutGoing-Spam-Status: No, score=-0.1 [Strategic ******** Associates, LLC.] new postStrategic ******** Associates, LLC. has posted a new item, 'new post' You may view the latest post at http://strat*****dvocateadvisorsllc.com/2015/05/07/new-post/ You received this e-mail because you asked to be notified when new updates are posted. Best regards, Strategic ******** Associates, LLC. bob@strat*****dvocateadvisorsllc.com
Avatar
-1
johnpaulb-imhs1
Hello jbrenne, Thank you for contacting us about problems with PHP mail. This is just a returned/bounced email, which means the SMTP functionality is working. You can confirm this because the recipient server is refusing the email, after it receives it (SMTP error from remote mail server after RCPT). If there was a problem with the mail function, the email would not be received successfully. Basically, your email is being delivered to the server successfully (host dnvrco-pub-iedge-vip.email.rr.com), but the server is refusing the email with this message "550 Invalid mailbox: ###@kc.rr.com" This means the person with the "@kc.rr.com" address will have to review their mail logs, or email account to investigate further. In the future, I recommend using our Bounceback Tool to help troubleshoot returned emails. If you have any further questions, feel free to post them below. Thank you, John-Paul B