> You need a local mail server.
Sendmail  8.13.8-2.el5 is installed on the new server and the old server 
(sendmail-8.13.8-1.fc5).
>echo 'test' | mail -s 'test' [EMAIL PROTECTED]
The above line sends on email on the old server but not the new server.

-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 2:55 PM
To: Marc Fromm
Cc: php-general@lists.php.net
Subject: Re: [PHP] send emails in php not working

Marc Fromm wrote:
> We recently moved to a new server. Our code that would send out emails is no 
> longer sending emails.
> There are no messages in the httpd logs associated with running the email.php 
> files.
> The email scripts worked on the old server. Is there a special setting in 
> php.ini for sending emails in php or is there a packages that needs to be 
> installed on the new server. Below is some sample code that worked on the old 
> server

You need a local mail server. Choices usually are postfix, exim,
sendmail or qmail (I suggest postfix) - they are usually the top 4 open
source ones.

Does email work from command line?

echo 'test' | mail -s 'test' [EMAIL PROTECTED]

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to