Re: [PHP4BETA] Does mail() work in the beta?
| From: | David Munsey-Kano | Date: | Tue, 18 Jan 2000 17:28:38 +0000 |
| Subject: | Re: [PHP4BETA] Does mail() work in the beta? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9245@lists.php.net to get a copy of this message | ||
Eric,
I saw that in the php.ini file, but I did not think it was required. I
don't think I setup that in my php3.ini server setup and yet it works
there.
I guess this is a new requirement, because I checked and it was not in
my php3.ini and you were correct that adding it to php.ini for the beta
made the simple code below work just fine.
Thanks for the fast response to my question! The support for php exceeds
that I have found in many commercial packages!
Sincerely, David Munsey-Kano
Eric van der Vlist wrote:
>
> David,
>
> Yes, it's working, but you have to specify the path to your mail system
>
> > sendmail_path ="/usr/sbin/sendmail -t"
>
> and to restart your server.
>
> Eric
>
> David Munsey-Kano wrote:
> >
> > I just tried it and the same code that worked in php version 3 does not
> > seem to work in the beta version of php 4:
> > ----------------------
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> >
> > <html>
> > <head>
> > <title>Test php mail() function</title>
> > </head>
> >
> > <body>
> > Just a test of the php mail() function
> > <?
> > mail("David.Munsey-Kano@dartmouth.edu", "Test message",
> > "Test Message
> > Body");
> > ?>
> >
> > </body>
> > </html>
> > ----------------------
> > Thanks, David
> > --
> > David Munsey-Kano
> > Dartmouth College
> > (603) 646-1320
> >
> > Murphy was a liar, not a lawyer!
> >
> > --
> > 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
>
> --
> ------------------------------------------------------------------------
> Eric van der Vlist Dyomedea
>
> http://www.dyomedea.com
> http://www.ducotede.com
> ------------------------------------------------------------------------
--
David Munsey-Kano
Dartmouth College
(603) 646-1320
Murphy was a liar, not a lawyer!