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

From: Date: Wed, 19 Feb 2003 07:17:23 +0000
Subject: Re: php.ini for UNIX sendmail????
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136117@lists.php.net to get a copy of this message
Is there any way to specify to use a remote smtp server in the php.ini On Tue, 18 Feb 2003, Scott Fletcher wrote: > Well, okay, even with the '\r\n' path, I still have problem. Here's the new > script and I retested it. > > --clip-- > $message = "This is a test...."; > > mail("zookqvalem@yahoo.com", "the subject", $message, > "From: webmaster@$SERVER_NAME\r\n" > ."Return-Path: scott@abcoa.com\r\n" > ."Reply-To: webmaster@$SERVER_NAME\r\n" > ."X-Mailer: PHP/".phpversion()."\r\n"); > --clip-- > > So far, I never got the email at yahoo and I never got the email at abcoa.com..... > "Adam Voigt" <adam@cryptocomm.com> wrote in message ¢äNæq¡F = > Æò¡Ânews:1045583863.1934.11.camel@beowulf.cryptocomm.com... > Well your missing your \r\n at the end of your return path. > > On Tue, 2003-02-18 at 10:57, Scott Fletcher wrote: > 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 > -- Robin Mordasiewicz 416-207-7012 UNIX System Developer Primus Canada

« previous php.general (#136117) next »