|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-03-02 15:30 UTC] kalle@php.net
[2009-03-02 15:45 UTC] jeffreybolle at gmail dot com
[2009-03-06 17:53 UTC] danielc@php.net
[2009-03-08 06:12 UTC] kalle@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 20:00:02 2025 UTC |
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}