Jump to content

how can i get mail.function working on my local server?


yami007

Recommended Posts

Hi, i'm running apache on windows xp sp3

when i try the mail function it gives me this error:

Warning: mail() [function.mail]: SMTP server response: 550 noreply@ ansari.net relay mail disabled and this mail server requires smtp authentication.(from "noreply@ ansari.net" to "[email protected]" via "taoufika-e88917.com") in C:\AppServ\www\ansari\buy.php on line 35

 

how can i activate this mail funtion?

please help..

Yeah that is a complicated subject, you have two options install a mail client or use an existing mail ISP to route your mail through. On the later it will be a custom function not your php mail() function. Although I have heard that you can modify your INI enough to set it up with certian mail providers that do not have a complex login.

From the error you posted, it seems that mail() does work for you, just your settings in the configuration for ampache is trying to use a SMTP server that requires proper login and password before being able to use it. I'm not familiar with ampache config files so you may have to wait for someone else with better knowledge on that, or google.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.