Bug #66829 [Fbk->NoF]: mail function failure

From: Date: Tue, 30 Dec 2014 10:42:28 +0000
Subject: Bug #66829 [Fbk->NoF]: mail function failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189469@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66829&edit=1 ID: 66829 Updated by: php-bugs@lists.php.net Reported by: jim at hwy61 dot com Summary: mail function failure -Status: Feedback +Status: No Feedback Type: Bug Package: Mail related Operating System: Linux PHP Version: 5.5Git-2014-03-05 (Git) Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2014-03-05 22:59:28] requinix@php.net And it's not your sendmail client? Because I can guarantee you that PHP doesn't have any kind of "if email message contains string 'naimh.org' then don't send" logic. If mail() returned true then it was handed off to sendmail, in which case it should have some log indicating what happened with the message (eg, not sent, rejected by remote server, sent successfully). ------------------------------------------------------------------------ [2014-03-05 22:50:12] jim at hwy61 dot com Not a spam filter issue. Fails regardless of recipient address, and the recipient address I'm using to receive has no spam filtering at all. ------------------------------------------------------------------------ [2014-03-05 22:10:08] requinix@php.net This is so very likely a spam filter or other anti-spam mechanism taking effect. Look into that. ------------------------------------------------------------------------ [2014-03-05 21:38:12] jim at hwy61 dot com Description: ------------ A truly bizarre problem. Using the PHP mail function, if the message, or any attachment file, contains the absolute string "naimh.org" the function fails completely. The email will not be delivered. Removing or changing any character in the string will permit the mail to be sent. Test script: --------------- <?php $toaddress="jim@hwy61.com"; $subject="test"; $message="naimh.org"; mail($toaddress, $subject, $message); ?> Expected result: ---------------- The email will not be delivered, unless at least one character in the message is deleted or changed. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66829&edit=1

« previous php.bugs (#189469) next »