如何使用PHP错误修复Email脚本,我不确定它是否是WAMP Server的问题?

I am trying to build a simple Contact Form on Dreamweaver that will email user responses to a designated email.

However, I am getting the above problem: 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()

I have 2 PHP based files on dreamweaver:

  1. mailscript

  2. contactform

    Untitled Document

    Text Field:     Text Area:     Content for form Goes Here