Bug #66498 [NEW]: mail doesn't send if body starts with 'fe'

From: Date: Thu, 16 Jan 2014 17:51:12 +0000
Subject: Bug #66498 [NEW]: mail doesn't send if body starts with 'fe'
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183841@lists.php.net to get a copy of this message
From:             cmeyer at cesa10 dot k12 dot wi dot us
Operating system: Fedora core 19
PHP version:      5.5.8
Package:          Mail related
Bug Type:         Bug
Bug description:mail doesn't send if body starts with 'fe'

Description:
------------
If the body (msg) of the email starts with 'fe', the mail isn't sent. 
mail() show success, but mail is not received.  If I change the 'fe' so
something else, it works fine.



PHP version if Fedora 19 php 5.5.7


Test script:
---------------
    $email_to = "cmeyer@cesa10.k12.wi.us";
    $email_cc = "it@cesa10.k12.wi.us";
    $email_subject = "Backup Verification";
    $email_body = "fe\r\n";  // <- seems to work fine but no mail
delivered
//    $email_body = "mfe"\r\n"; <- works fine and mail delivered
    $headers = "From: backup@cesa10.k12.wi.us\n";

    if (!mail($email_to, $email_subject, $email_body, $headers))
    { print "Email failed\n"; }
    else
    { print "Email success\n"; }

Expected result:
----------------
mail should be received

Actual result:
--------------
mail not received, though mail() does not return an error.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=66498&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66498&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66498&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66498&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66498&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66498&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66498&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66498&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66498&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66498&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66498&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66498&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66498&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66498&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66498&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66498&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66498&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66498&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66498&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66498&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66498&r=mysqlcfg



Thread (5 messages)

« previous php.bugs (#183841) next »