note 40294 added to function.mail

From: Date: Fri, 27 Feb 2004 19:19:46 +0000
Subject: note 40294 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-65897@lists.php.net to get a copy of this message
If you want to send an email to 'Bcc' recipients without a 'To: ' statement, pass an empty string to the first parameter, along with the 'Bcc:' header in the fourth. You don't have to enter 'undisclosed-recipients:;' (this is done on client side) or a bogus address. <?php mail("","subject", "body", "Bcc: someone@somewhere.com\r\n"); ?> ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40294 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40294&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40294&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65897) next »