I'm using a WAMP server and when I try to send messages using sendmail, I receive one or both of the following errors: Socket Error # 10060Connection timed out. Connection Closed Gracefully. But no email is sent. What can I do to fix this?

The problem is that sendmail has to be run as an administrator. Do the following:

1.) Right click on sendmail.exe

2.) Properties

3.) Compatibility

4.) Change the configuration for all users

5.) Execute as Windows XP SP 3

6.) Execute as adminitrator

7.) Save