You have no items in your shopping cart.

How to set up sending emails on localhost for magento


You are a developer? You would like to send emails after customer’s registering, purchase, newsletter subscription, or order completed notification, etc. However, your website is just on localhost, which does not support sending email (some tools allow but not many).

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 set up on localhost. In order to go Setting of module you go System -> Aschroder Extension -> SMTP Pro

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.

Choose Save config.

After you save config, to see whether module has run or not, still in config, you click on Tab Logging and Debugging.

In this config, 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: 

Then the config has completed, module is running.

You can test it easily by registering as a new customer, then check whether you have received welcome email or not.

Have a nice day!