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' example@xxxxxxxxxxx -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php