Re: php.ini for UNIX sendmail????

From: Date: Tue, 18 Feb 2003 15:57:42 +0000
Subject: Re: php.ini for UNIX sendmail????
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-136025@lists.php.net to get a copy of this message
Here's the command... --clip-- mail("zookqvalem@yahoo.com", "the subject", $message, "From: webmaster@$SERVER_NAME\r\n" ."Return-Path: scott@abcoa.com" ."Reply-To: webmaster@$SERVER_NAME\r\n" ."X-Mailer: PHP/" . phpversion()); --clip-- The bad thing is that when I send the mail. I never get an email back when something is not working right by using the return-path. "Adam Voigt" <adam@cryptocomm.com> wrote in message news:1045582206.1976.8.camel@beowulf.cryptocomm.com... Oh, ok, well how about your PHP code then (the actual mail() line)? On Tue, 2003-02-18 at 10:34, Scott Fletcher wrote: Here's is the response to the command, 'where sendmail'. >>bash: where: command not found So, I don't have a where command but I did the phpinfo() and it showed ..... --clip-- Directive || Local Value || master value -------------------------------------------------------------------------------------------------------- sendmail_from || no value || no value sendmail_path || /usr/sbin/sendmail -t -i || /usr/sbin/sendmail -t -i --clip-- I don't have email problem when I send email to anywhere, the only problem is the yahoo itself... Thanks... "Adam Voigt" <adam@cryptocomm.com> wrote in message news:1045581738.1976.6.camel@beowulf.cryptocomm.com... Umm, are you asking for Sendmail's path? It's usually /usr/bin/sendmail -t -i but you can verify where it is on your system by typing "where sendmail". On Tue, 2003-02-18 at 10:25, Scott Fletcher wrote: Hi! What is the appropriate filepath with the flag command for the sendmail on the UNIX machine?? I send an email to yahoo and got the error message which I'm going to paste it here... --clip-- ----- The following addresses had permanent fatal errors ----- xyz@yahoo.com --- The transcript of the session follows --- ... while talking to mx2.mail.yahoo.com.: >>> MAIL From:<root@chevy> SIZE=40 <<< 501 Syntax error in parameters or arguments 501 xyz@yahoo.com... Data format error --clip-- One thing I know for sure is that the sendmail is working and that hte PHP code is working. I don't think I did the bad php command. Could it be the sendmail command be set wrong??? Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt (adam@cryptocomm.com) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc -- Adam Voigt (adam@cryptocomm.com) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

« previous php.general (#136025) next »