The error I'm receiving while trying to a mailing php script:
//Warning: mail() [function.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 C:\xampp\htdocs\Verify.php on line 41//
Being a newer in PHP what I did only to change the php.ini file like this:
[mail function]
; For Win32 only.
; http://php.net/smtp
;SMTP = localhost
;sendmail_from =postmaster@localhost
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = postmaster@localhost
But no success. PL tell me what exactly have to be done;and if any php mailer would have to be installed,pl tell me which one and how it be configured in php.ini file so that I can send mail through my php script to someone.
With regards.
** Edit ** email removed as per site rules