note 21988 added to ref.mail

From: Date: Mon, 03 Jun 2002 01:11:48 +0000
Subject: note 21988 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-31364@lists.php.net to get a copy of this message
i have noticed that the mail() doesnt work if you define some headers in a variable ($headers) and also within the mail( ..here.. ). this causes a conflict for some reason example... $headers = "MIME/TYPE blah blah blah"; $headers = "Cc: user@example.com"; mail("$headers", "From: user@examples.com"); i hope this helps -- http://www.php.net/manual/en/ref.mail.php http://master.php.net/manage/user-notes.php?action=edit+21988 http://master.php.net/manage/user-notes.php?action=delete+21988 http://master.php.net/manage/user-notes.php?action=reject+21988

« previous php.notes (#31364) next »