You can send an email from localhost( Either Xampp or Wamp). The following solution will help you much with email problem of Magento on localhost, which enables you debug and test email.
Link to download: https://github.com/aschroder/Magento-SMTP-Pro-Email-Extension
Once you have downloaded, you have to set up on localhost. In order to go setting of module.
Following steps are mentioned for Config with localhost.
- Login Magento Admin
- Click on System and Select Aschroder Extension option
- Click on SMTP Pro option
Here you will see that module allows you to use free SMTP from: Gmail, Amazon SES, SendGrid, or Custom SMTP.
Personally, I would like to use Google Apps or Gmail as SMTP and sending mail for Magento.
For module running and operating, we need a Gmail account. I will create a Gmail account used for sending email only. (Note: Don’t use your real email)Configuration is relatively simple. you just need to choose Google Apps or Gmail, then fill username + Password.
Once enter in all required fields, click on Save Config button.
After you save config, to see whether module has run or not, still in config, you click on Tab Logging and Debugging.
In this configuration, the purpose is to log email submissions in Magento system, you can choose Yes in all options.
Then click on Run Self Test and if you receive this notification
Once all are configuration has been done, module will be running.
You can test it easily by registering as a new customer, then check whether you have received welcome email or not.