Blocking mail function in PHP

  • 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: SMTP error from remote mail server after RCPT TO:<>: host []: 550 Invalid mailbox: ------ This is a copy of the message, including all the headers. ------ Return-path: Received: from ([]:65192 helo=strat***** by with esmtpsa (UNKNOWN:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YqUg1-0009UR-V2 for; Thu, 07 May 2015 15:53:58 -0700 Date: Thu, 7 May 2015 22:53:57 +0000 To: From: Bob Subject: [Strategic ******** Associates, LLC.] new post Message-ID: <8d25e4d2a3dec24835a6457a7efbd037@strat*****> X-Priority: 3 X-Mailer: PHPMailer 5.2.7 ( 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***** You received this e-mail because you asked to be notified when new updates are posted. Best regards, Strategic ******** Associates, LLC. bob@strat*****
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, but the server is refusing the email with this message "550 Invalid mailbox:" This means the person with the "" 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