Bug #66829 [Opn->Fbk]: mail function failure
| From: | requinix@php.net | Date: | Wed, 05 Mar 2014 22:59:28 +0000 |
| Subject: | Bug #66829 [Opn->Fbk]: mail function failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184549@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: requinix@php.net
Reported by: jim at hwy61 dot com
Summary: mail function failure
-Status: Open
+Status: Feedback
Type: Bug
Package: Mail related
Operating System: Linux
PHP Version: 5.5Git-2014-03-05 (Git)
Block user comment: N
Private report: N
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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