I am trying to test some email sending from my localhost. I'd like to use an external SMTP server for this matter. I am using Windows 7/XAMPP. I tried configuring sendmail.ini with no luck. Where/how can I tell Magento to use specific settings for sending emails?

2 Answers 2


You can set the SMTP host and port in System > Configuration > Advanced > System > Mail Sending Settings.

For sending emails from an external SMTP server, however, I would recommend the free extension SMTP Pro.

Ashley (the extension creator) describes what the advantages are:

This Magento extension is created for expert users who need full control of the Magento SMTP server settings. You can control authentication, security and specify your own host and port. The extension supports self-testing and Magento newsletters. This extension now also has the ability to easily configure and send from Gmail or Google Apps email addresses.

  • 1
    Am I to understand, that this is not possible out of the box in Magento?
    – dsplynm
    Dec 3, 2013 at 12:16
  • You can set the host and port. I added the information. I also added a quote explaining why you may want to use the extension. Dec 3, 2013 at 12:49
  • 1
    SMTP settings are just for Windows hosts. Apr 18, 2016 at 11:32
  • I am using SMTP pro extension in localhost, testing mail working good, but order mail not sending in localhost, how to solve this error?
    – zus
    Jan 10, 2018 at 8:03
  • I have configured all smtp details but i am getting error command not implemented Jun 18, 2018 at 5:24

We have some other ways to set up smtp for magento, the default settings only accept the basic set up. You can check magento set up tutorial here Magento SMTP Email Setup

  • 1
    As links can change over time, please include the relevant parts of the answer here (you can still provide the link for context). You can use the edit link below your answer to add the additional information. Thanks!
    – Tim Malone
    Feb 20, 2017 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.