Currently, I'm running Apache 1.3.26 with PHP 4.2.2 (and MySQL) on Windows 2k.

I've downloaded Jack's Formmail script from http://www.lumbroso.com/scripts/formmail.php but have had no luck in making it work, even when I followed everything in the documentation.

After doing a bit of research and asking around, I found the answer:

Search for and open php.ini

Find the following lines:

[mail function]
; For Win32 only.

on the next line - add your ISP's SMTP mail server to it:

SMTP = smtp.virgin.net

(the above mail server would only work if you was connected to Virgin.net, like I am. Just replace it with your own ISP's mail server address)

This is how the finished result will look:

[mail function]
; For Win32 only.
SMTP = mail.domain.com