From:             son9ne at gmail dot com
Operating system: Mac OSx
PHP version:      5.2.12
PHP Bug Type:     Mail related
Bug description:  mail() is sending emails it shouldn't be

Description:
------------
I have been working on a simple cron system. I have had no issue with it
up until yesterday. I am not 100% sure how to duplicate this since I am
stuck with this issue and cannot get stop it...

The problem that is happening is when calling mail() for only 1 test
email, it sends over 200 messages with a totally different subject and
message... It's like the emails are cached or something, not my area of
expertise.

I am reporting this to make note of the issue, I doubt I am the only one
having it.

This information may be helpful also. At some point, while still
developing the script, the script did send run though a loop where it would
have sent out over 1,000 emails (all addressed to me). Could these emails
somehow be stuck in the system? I am not that savvy when it comes to these
things... These extra emails are being sent when I am using any script now
that uses the mail function. Thus mail is absolutely useless at this point
for me and has me at a stand still for this script. I have even tried
creating a new file and only having the mail function with a test message
to me and it does the exact same thing. Every script on my system does this
now. 

Reproduce code:
---------------
Like I have said, I am not aware of how to duplicate what triggered this
to happen; but for me, just calling 

mail('[email protected]' 'Test subject', 'test message', 'From: [email protected]',
'-f [email protected]');

Will send out 100-200 emails to me with a message of an email I was
testing yesterday.


Expected result:
----------------
I'd expect to see a single email with the proper subject and content.

Actual result:
--------------
I do receive the test email but I am also receiving between 100-200 emails
of a previous email. Makes me wonder who is getting who's emails...

-- 
Edit bug report at http://bugs.php.net/?id=51017&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51017&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51017&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51017&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51017&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51017&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51017&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51017&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51017&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51017&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51017&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51017&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51017&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51017&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51017&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51017&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51017&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51017&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51017&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51017&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51017&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51017&r=mysqlcfg

Reply via email to