I want to send mail with localhost. I am using Window XP with WAMP.
I had already made necessary settings in php.ini file
SMTP = smtp.mailhost.tld
smtp_port = 25
sendmail_from = firstname.lastname@example.org
But still it will give following error :
Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.mailhost.tld" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wamp\www\rnd\mail.php on line 2
Please guide me.