I want to set up a small application for sending mail using PHP, using a remote smtp server, with the application on my own local PC that is hosting the local intranet. How can I possibly Set-up the configurations because so far I have tried by setting some configurations in the php.ini file for SMTP and Sendmail_from but it still gives me an error as below
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:\AppServ\www\rionet\mymail.php on line 18