The error message says it all:
Chetrabbu wrote:verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
You need to tell your PHP environment how to contact an SMTP server. There obviously isn't a local one running, so you need to either set one up or use your ISP's one. To use the ISP's one, specify something like
SMTP = mail.ipsname.com
smtp_port = 25
in your php.ini. You could use ini_set() inline in your PHP, but that really only makes sense if you want to change things on the fly.