note 51406 added to ref.mail

From: Date: Wed, 30 Mar 2005 01:45:14 +0000
Subject: note 51406 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-87168@lists.php.net to get a copy of this message
You want to setup the Return-Path on a email sent, without modifing the php.ini or httpd.conf file. You can do it in your php code. EXAMPLE: mail("$to", "$subject", "$message", "From: $from\nX-Mailer: PHP/ . $phpversion()", "-f $from"); END EXAMPLE: Notice the "-f" at the end of the function. This will set the return-path. ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51406 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51406&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51406&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51406&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51406&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51406&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51406&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#87168) next »