After working all day on this, I finally found a solution. Here's how I send from Windows XP with WAMP.
- Use Google's SMTP server. You probably need an account.
- Download and install Fake Sendmail. I just downloaded it, unzipped it and put it in the WAMP folder.
- Create a test PHP file. See below.
<?php
$message = "test message body";
$result = mail('[email protected]', 'message subject', $message);
echo "result: $result";
?>
- Update your php.ini file and your sendmail.ini file (sendmail.ini is in the sendmail folder).
- Check the error.log file in the sendmail folder that you just created if it doesn't work.
Reference: