I want to send email through contact form from a website. And I have given link to php file in which senders mail is there and I'm using mail() function by passing arguments when I hits submit button the following error is displaying like this.
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\xampp\htdocs\hotel-booking\contact_process.php on line 52
Why?