Re: send emails in php not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux