While doing testing of WordPress in local system many times we need to do the email testing and we can't do it as we don't have SMTP server installed on local system. Without going to option of installing SMTP server on local it would be easier to use free SMTP server to send emails from local WordPress setup. I have already given instructions on how to send emails using SMTP server from localhost which uses phpMailer script. WordPress also uses phpMailer to send emails so we can do the changes in coding files to use SMTP and provide username and password. But that is not a recommended option. We can do it easily using WP Mail SMTP plugin.