If you have a working Gmail account you can use Gmail as your mail server by setting it in the global configuration.
On the server tab set the following:
The SSL module must be enabled in apache. If it is not, enable it with a2enmod ssl
Note that if you are using WAMP on Windows, you may need to enable the openssl module (which is not enabled by default). To do this: