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
                   2010-06-01 04:43:18
                
              that doesnt work
                  udaya
                   2010-06-01 04:50:53
                
                +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.

                  this. __curious_geek
                   2010-06-01 04:53:28