#47543 [Opn]: irrelevant warning message

From: Date: Mon, 02 Mar 2009 15:30:46 +0000
Subject: #47543 [Opn]: irrelevant warning message
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134320@lists.php.net to get a copy of this message
 ID:               47543
 Updated by:       kalle@php.net
 Reported By:      jeffreybolle at gmail dot com
 Status:           Open
 Bug Type:         Mail related
 Operating System: Windows Vista SP1
 PHP Version:      5.3.0beta1
 New Comment:

Have you enabled the mailing logging feature thats available as of PHP
5.3 and not defined a mail log setting (mail.log)


Previous Comments:
------------------------------------------------------------------------

[2009-03-02 12:50:31] jeffreybolle at gmail dot com

Description:
------------
When using the mail() function PHP displays an irrelevant warning
message.

Reproduce code:
---------------
mail("jeffreybolle@gmail.com","test subject","test message");

Expected result:
----------------
The email is sent and no warnings are displayed.

Actual result:
--------------
The email is sent but the following warning is displayed:

Warning: mail() [function.mail]: Filename cannot be empty in {script
name} on line {line number}


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47543&edit=1



Thread (5 messages)

« previous php.bugs (#134320) next »