RE: [PHP] Mail()

From: Date: Mon, 13 Aug 2001 17:44:51 +0000
Subject: RE: [PHP] Mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62471@lists.php.net to get a copy of this message
Sorry .. I read the doc. and I tried sendmail_from and _path but did not affect also I tried to use a seperate function (directly through Sendmail) but did not work (I did not get any emails) -----Original Message----- From: Michael Geier, CDM Systems Admin [mailto:mgeier@cdmsports.com] Sent: Monday, August 13, 2001 6:12 PM To: Mahmoud Kassem Cc: php-general@lists.php.net Subject: RE: [PHP] Mail() rather than be rude about it, try reading the whole message and then looking through the PHP documentation. http://www.php.net/manual/en/function.ini-set.php =================================================== ini_set (PHP 4 >= 4.0RC1) ini_set -- Set the value of a configuration option Description string ini_set (string varname, string newvalue) Sets the value of the given configuration option. Returns the old value on success, FALSE on failure. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending. Not all the available options can be changed using ini_set(). Below is a table with a list of all PHP options (as of PHP 4.0.5-dev), indicating which ones can be changed/set and at what level. =================================================== -----Original Message----- From: Mahmoud Kassem [mailto:mahmoud@abkareno.com] Sent: Monday, August 13, 2001 9:40 AM To: Michael Geier, CDM Systems Admin Cc: php-general@lists.php.net Subject: RE: [PHP] Mail() I said before I do not have access to the php.ini I am on a virtual Hosting ... -----Original Message----- From: Michael Geier, CDM Systems Admin [mailto:mgeier@cdmsports.com] Sent: Monday, August 13, 2001 4:43 PM To: Mahmoud Kassem; ReDucTor Cc: php-general@lists.php.net Subject: RE: [PHP] Mail() your MTA is setting the envelope, not your script. if you are using sendmail, look at the -f flag in the man sendmail page. then modify your php.ini file. Or possibly even set the variable (sendmail_path) inside of your script to include the -f flag. -----Original Message----- From: Mahmoud Kassem [mailto:mahmoud@abkareno.com] Sent: Monday, August 13, 2001 1:34 AM To: ReDucTor Cc: php-general@lists.php.net Subject: RE: [PHP] Mail() I have the arrows my code is : $headers .= "Return-Path: <errors@abkareno.com>\n"; $headers .= "Errors-To: <errors@abkareno.com>\n"; $headers .= "X-Sender: Abkareno <webmaster@abkareno.com>\n"; $headers .= "From: \"".$fname." ".$lname."\" <".$emailfrom.">\n"; $headers .= "Reply-To: ".$fname." ".$lname." <".$emailfrom.">\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; $headers .= "X-Mailer: Abkareno\n"; $headers .= "X-Authenticated-IP: [".$REMOTE_ADDR."]\n"; if ($prom == 1) { $headers .= "X-Priority: 2\n"; $headers .= "Importance: High\n\n"; mail("$emailto_owner"."<".$emailto.">","$subject","$message","$headers"); and still I get the email from NO BODY <nobody@servername.com> -----Original Message----- From: ReDucTor [mailto:sjdtmv@tpg.com.au] Sent: Monday, August 13, 2001 9:25 AM To: Mahmoud Kassem; php-general@lists.php.net Subject: Re: [PHP] Mail() >From : Your Name <user@domain.com> make sure you have the arrow things around it... thats in your headers... ----- Original Message ----- From: "Mahmoud Kassem" <mahmoud@abkareno.com> To: <php-general@lists.php.net> Sent: Monday, August 13, 2001 4:20 PM Subject: [PHP] Mail() > How can force my From: instead of the nobody@servername ? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#62471) next »