Computer Hope

Internet & Networking => Web design => Topic started by: marjune on August 11, 2009, 09:22:34 PM

Title: mail function error
Post by: marjune on August 11, 2009, 09:22:34 PM
ei guys when i used the mail function in php i got this Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini

is there any setting should i set in php.ini pls help!!!!!!!!!!!!!!!!!!!!!
Title: Re: mail function error
Post by: kpac on August 12, 2009, 03:39:37 AM
Are you using SMTP or just the built-in PHP function?