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?

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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