JJohnsenDK Posted November 26, 2006 Share Posted November 26, 2006 HeyI use mercury as mail server, if any of you know of it, and i have some problems with getting it to work. I get this message when i try to use the mail server:Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:\Programmer\xampp\htdocs\test\sendmymail.php on line 46The same message everytime. I dont understand the warning because it says: We do not relay non-local mail? Im using the server on localhost and shouldnt that be local? Link to comment https://forums.phpfreaks.com/topic/28510-problems-with-mail-server/ Share on other sites More sharing options...
printf Posted November 26, 2006 Share Posted November 26, 2006 You have to turn off SMTP Authentication for the localhost. I can't remember exactly how you do it for Mercury, but I think you need to open [b]mercury.ini[/b][code][MercuryS]Relay : 0Strict_Relay : 1Allow : 127.0.0.1 # localhost[/code]Where 127.0.0.1 is put your IP, then put that same IP for the SMTP value in your PHP.INI file. This was how it use to work, it might be the same way, check your documentation to be sure.printf Link to comment https://forums.phpfreaks.com/topic/28510-problems-with-mail-server/#findComment-130468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.