D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] simple mail server for winxp

 

Have you tried adding "localhost" to the .\windows\system32\drivers\etc\hosts file? Is it enabled in the connectoid for his LAN connection?

In PHP, you could try configuring mail() to connect to the actual IP address of the server rather than localhost

Martin

On 03/11/10 10:09, tom wrote:
Sorry to ask for this but I'm trying to help a friend do some web work in php and he's got mercury mail and a lot of the time mercury wont receive mail from php: *Warning*: mail() [function.mail <http://localhost/beacon/php/function.mail>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() i

it works some time and I'm assuming his xamp stack is ok so I'm looking for a really simple free mail server that can forward on these messages - to outlook I think on the same machine.
Tom te tom te tom

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq