Hi - I'm a newbie to PHP programing (about 3 days) so please forgive me if this is a really silly question. I want to write a php page to send reply e-mails to people contacting my website. I want to fully test any code on my local pc before uploading it to my website's server. So far I've succesfully downloaded, installed and configured PHP and Apache on my Windows xp machine. I've also written little test pages in php and they seem to work. So far so good. However, when I try to test a simple php page designed to simply send an email to myself it fails with the following error. [color=red]Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.myisp.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Group\Apache2\htdocs\PHP tests\send.php on line 3[/color] [color=purple]*please note myisp and e-mails changed below[/color] From the error message, and reading around on the internet, it looks like the php can't get into my own ISP. I've tried modifying the php.ini file which initially looked like this: [mail function] ; For Win32 only. SMTP = localhost ; for Win32 only smtp_port = 25 sendmail_from= me@localhost.com ; for Win32 only to: [mail function] ; For Win32 only. SMTP = smtp.myisp.com ; for Win32 only smtp_port = 25 sendmail_from = myemaill@myisp.com ; for Win32 only OK - I can't see how this can access my isp to send the e-mail because there appears to be no way to include my isp password. Just in case you ask - firewall configured to give apache access and, yes, apache was set to running. I'd be very grateful for any advice. Thanks :-)