Welcome to WebmasterWorld Guest from

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)

10+ 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 10+ Year Member

Thanks for sharing your solution. :)

Featured Threads

Hot Threads This Week

Hot Threads This Month