Re: [PHP4BETA] help! mail(), doest it really work???
| From: | Turcu Mihai | Date: | Thu, 02 Mar 2000 09:27:20 +0000 |
| Subject: | Re: [PHP4BETA] help! mail(), doest it really work??? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11319@lists.php.net to get a copy of this message | ||
You should put in php.ini:
sendmail_path = /usr/lib/sendmail -t
instead of
sendmail_path = /usr/lib/sendmail
Mita
----- Original Message -----
From: "Mohamed LRHAZI" <mlrhazi@gltrade.fr>
To: <php4beta@lists.php.net>
Cc: "Mohamed LRHAZI" <mlrhazi@gltrade.fr>
Sent: Thursday, March 02, 2000 11:51
Subject: [PHP4BETA] help! mail(), doest it really work???
> Hello all,
> i am a new comer to php, and i downloaded php4 beta to start with...
> calling for trbl you would say, huh? but I like that...
>
> first script i try to run is :
> <?php
> $r=mail("mlrhazi@gltrade.fr", "Subject", "Line 1\nLine 2\nLine
> 3");
> print "result from mail func was: $r";
> ?>
>
> on the web page I get :
>
> result from mail func was: 1
>
> Did I miss sth?
> in /usr/lib/php.ini I added :
> sendmail_path = /usr/lib/sendmail
>
> and calling sendmail from the command line does work :
> /usr/lib/sendmail -t
> to:mlrhazi@gltrade.fr
> subject:test
> line1
> .
> #
>
> and I do recieve this email!
> the problem is that I see no debug info? no err msg?
> how do I trace it down? how do you guys debug your scripts?
> do you really use that debuging scheem described in the docs, over a tcp
> socket?
> I cant figuer out how to do it!!
>
> thanx alot for any hints
>
> LM~
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>