View Single Post
  #2  
Old 26th August 2005, 16:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Quote:
Originally Posted by Roman
Hi,

Initially couldn't send out mail through my website (php), because sendmail smtp settings default to 127.0.0.1. Thought I fixed that and was confident that sendmail works fine. Now I can send emails out using Evolution, but still can't send out emails through my website.
In sendmail.mc I changed
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
to
DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl
and did m4 /etc/mail/sendmail.mc > /etc/sendmail.cf after that.
Do I need to recompile PHP to make it work? If yes, are there any special things I need to add to --with options to make this work.
Recompilation of PHP is not nescessary. Have you checked you php.ini for the correct mail settings?
Reply With Quote