==== Configuring local SMTP on Win2K ==== 1. Installing SMTP Start -> Settings -> Control Panel -> Add Remove Programs Install SMTP 2. Open local mail relaying My Computer -> Right click "Manage" Services and Applications -> Internet Information Services Select "Default SMTP Server" and Right click "Properties" under "Access" tab -> select "Relay restrictions" Click "Add" and type 127.0.0.1 as IP address for "Single comptuer" option Click "ok" Click "ok" Click "apply" If you don't run IIS, do the following to protect you server from worms 3. Disable IIS (that was installed as a requirement for SMTP) Start -> Programs -> Adminstrator tools -> Services Select properties World Wide Web Publishing Service stop the service set "Startup type" to "Disabled" 4. Tell IIS to use a non-standard port so it won't get hit if IIS is turned on by accident. My Computer -> Right click "Manage" 1. (no-IIS) Move IIS to non-standard port to protect against nimda Services and Applications -> Internet Information Services Select "Default Web Site" and Right click "Properties" Set TCP Port to 80000 ==== Configuring PHP to use SMTP ==== 5. To configure PHP to use it open C:\WINNT\PHP.INI find and edit the following settings: [mail function] ; For Win32 only. SMTP = "127.0.0.1" ; For Win32 only. sendmail_from = "php@hostname.com" replace php@hostname.com with the username you want emails to orginate from. 6. Restart apache for the changes to the PHP.ini file to take affect.