Welcome to WebmasterWorld Guest from 54.197.116.116

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

OSX 10.5.3 and PHP mail not working? Here's a fix

Worked on this for hours, finally found a solution.

   
5:31 pm on Jun 7, 2008 (gmt 0)

5+ Year Member



I am not sure what changed in v10.5.3, but after updating, my PHP scripts would no longer send out mail, even though Apple mail was fine. Maybe a fluke, maybe note. But it looks like the domain names wouldn't resolve after the update. This fixed it:

Open up a terminal window

Type this:
sudo vi /etc/resolv.conf

add a couple of name servers

Save and exit.

Now try mailing again. I hope this saves someone a couple hours of frustration.

[edited by: coopster at 5:46 pm (utc) on June 7, 2008]
[edit reason] removed specific nameservers [/edit]

2:17 pm on Jun 10, 2008 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member



Thanks for sharing your solution. :)