tags:

views:

24

answers:

2

Hi I am sending email from my localhost There occurs a server error Failed to connect to mailserver at "smtp.bizmail.yahoo.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() when i host my project to the server my function works Now i need a solution such that the mail functionality must work in my localhost too

+1  A: 

Try setting smtp to "127.0.0.1" and smtp_port to 25. That's assuming your localhost is running sendmail or something similar.

barrycarter
that doesnt work
udaya
+1  A: 

Download miniRelay smtp server from here. Use localhost or 127.0.0.1 as smtp server and port 25 to connect to smtp server and send emails.

alt text

this. __curious_geek