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 following is also a working combination:
The SSL module does not need to be enabled in Apache.
The OpenSSL extension needs to be enabled in PHP. The details can be found at http://www.php.net/manual/en/openssl.installation.php
If you are using WAMP on Windows, the openssl module is not enabled by default and you need to enable it. To do this:
Note that if you use 2-step verification in Gmail, you need to add a new password in Settings - Accounts - Change accounts settings - Other Google Account settings - Security - 2-step verification - Manage your application specific passwords.
When the new Application Specific Password (ASP) is presented in groups of four characters separated by spaces, make sure that you do NOT enter the spaces into the SMTP password in the mail server settings in Joomla.