Skip to navigation Skip to content
ASchroder.com

Notes on Web Development

  • Home
  • About
  • Presentations
  • Home
  • About
  • Presentations
Posted on August 29, 2009 February 28, 2010

SMTP Pro Magento extension, free and open SMTP support for Magento

Written by
Ashley
Posted in
Magento, Projects, SMTP Pro Magento Extension, Web Development
Tagged
athentication, cram-md5, login, Magento, plain, smtp, ssl, tls
Comments
220 Comments

Well this morning I said I was going to start working on a simple SMTP extension for Magento. The weather was completely stink here in Auckland so I ended up making the ASchroder.com SMTP Pro Magento extension this afternoon you can get it from Magento Connect. It’s a development release and I’m seeking feedback on it from people willing to give it a try.

It has several features over the older SMTP extensions available for Magento.

  1. supports self testing right from the Magento admin UI
  2. logs friendly messages if you enable logging in var/log
  3. has helpful comments to guide you when configuring
  4. supports Magento built in newsletters

Several people have asked me to open my Google Apps / Gmail Magento extension up to support other SMTP servers. I worried that once I added extra configuration options to my extension, the simplicity and ease of use would be lost. I decided to separate the two extensions so that those who just want to send using gmail or Google Apps, do not need to know anything about TLS, Authentication or what port to send on (it’s 587 if you care…). So that’s why I have made this Magento SMTP extension, I’ll be supporting it as best I can, just as I do with my Google Apps and Gmail extension.

Here is a screenshot of the configuration dialog:

This shows the Configuration options for the SMTP Pro extension.
This shows the Configuration options for the SMTP Pro extension.

And also a screenshot of a successful self test result:

This shows the results of a self test.
This shows the results of a self test.

If you have any comments, suggestions or feedback, please let me know.

You might also be interested in:

  1. Pre-release: SMTP Pro / Magento Gmail & Google Apps Email Beta testing (win a prize)
  2. Magento SMTP, Gmail and Google Apps Email combined extension released (at last)
  3. Google Apps Email/Gmail Magento Extension v0.5 released
  4. Magento SMTP Pro 2 – Free and Open Source SMTP Configuration
  5. Sneak Peek at the New Magento Gmail/Google Apps and SMTP extension

Post navigation
Google Apps Email/Gmail Magento Extension v0.5 released
Sneak Peek at the New Magento Gmail/Google Apps and SMTP extension

220 thoughts on “SMTP Pro Magento extension, free and open SMTP support for Magento”

Comment navigation
← Older Comments
  1. tino fotiou
    July 18, 2012

    Our site was working great with this extension when all of the sudden the email’s stopped working (not being sent), with the following error message: exception ‘Zend_Mail_Transport_Exception’ with message ‘Unable to send mail. ‘ in /lib/Zend/Mail/Transport/Sendmail.php:137. Tried reinstalling this extension, cleaning cache etc. no help. Same error, what you think is causing this?

  2. Vi Wickam
    July 19, 2012

    Hi Ashley,

    I see that SMTPPro only works with Magento Community 1.5 and older. Do you have a recommendation for using an outside mail server on Magento 1.7?

    Thanks!
    Vi

  3. Patrick
    July 27, 2012

    Hi,

    I install the extension SMTP Pro, with Google Apps/GMAIL mode, but when I run the self test, I’ve got this error:
    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using SMTP configuration options
    Connection to Host SMTP server successful.
    Sending test email to your contact form address info@theroyalsword.com:
    Unable to send test email. Exception message was: 535 Incorrect authentication data …
    Please check and double check your username and password.
    Contact Form test email did not use SMTPPro to send.
    Testing failed, please review the reported problems and if you need further help visit ASchroder.com to contact me.

    The same thing if I use the SMTP mode.

    This is a misconfiguration of my server?

    Anybody can help me?

    Thanks

  4. Simon
    August 28, 2012

    Dear Ashley,

    thank you for providing this and other awesome modules to the community (like the automatic cloud backup which I’ve tried today as well :-))

    I have installed SMTP Pro.

    The test e-mail is being sent and received successfully.

    Signing up as a new user or registering for the newsletter, doesn’t result in an email being sent.
    The magento-notification which is being shown to the user after registering as a new user, is:
    “Can’t save customer”

    Here’s the log:
    “ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail configuration options
    Connection to Host SMTP server successful.
    Sending test email to your contact form address info@domain.com:
    Test email was sent successfully.
    Testing complete, if you are still experiencing difficulties please visit ASchroder.com to contact me.”

    Also, I have version 1.7.0.1 installed. I’m mentioning this as some people have reported that this module works with 1.7.0.2, though at Magento Connect you mention support only up to version 1.5.

    Any idea about what I’ve missed?

    Looking forward to hearing from you,
    Simon

  5. Nabler
    September 22, 2012

    Hi,

    I always get this msg:

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail configuration options
    Connection to Host SMTP server successful.
    Sending test email to your contact form address nablerbobrastaman@gmail.com:
    Unable to send test email. Exception message was: Unable to connect via TLS…
    Please check and double check your username and password.
    Contact Form test email did not use SMTPPro to send.
    Testing failed, please review the reported problems and if you need further help visit ASchroder.com to contact me.

    Can any one help me?

    Thanks in advance

  6. Nabler
    September 22, 2012

    Hello,

    I got this msg:

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail configuration options
    Connection to Host SMTP server successful.
    Sending test email to your contact form address nablerbobrastaman@gmail.com:
    Unable to send test email. Exception message was: Unable to connect via TLS…
    Please check and double check your username and password.
    Contact Form test email did not use SMTPPro to send.
    Testing failed, please review the reported problems and if you need further help visit ASchroder.com to contact me.

    I use “Google Apps/Gmail”, and i gave email address and password correctly cause i’ve login in gmail using it.

    What i’m missing? please help

    Thanks advance

  7. Paulo
    October 13, 2012

    Hi,
    The error message (ASchroder.com SMTP Pro Self-test results) is the same for me. But even then functioned. See my setup:

    SMTP Pro Email General Settings

    Choose extension option: SMTP
    Use Store Email Addresses for Reply-to: NO
    Development Mode options: Development Mode Disabled
    Log all messages: NO

    SMTP Pro Email SMTP Settings

    Authentication: Login
    Username: exemplo@email.com
    Password:
    host: smtp.email.com
    port: 587
    SSL Security: No SSL

    I Don’t understand,
    Thanks

  8. James Niland
    October 23, 2012

    I am getting the test email but it still says if fails.
    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using SMTP configuration options
    Connection to Host SMTP server successful.
    Sending test email to your contact form address support@nilandsplace.com:
    Test email was sent successfully.
    Contact Form test email did not use SMTPPro to send.
    Testing failed, please review the reported problems and if you need further help visit ASchroder.com to contact me.
    I cannot get my contact page to send emails?
    Also I have webforms contac page but I have turned it on and off with the same result

  9. tata
    October 30, 2012

    hi ashley

    installed your extension on ce1.7.0.2, and it seems to work, but i cannot send any emails. cannot connect to smtp server. checked login details and are fine. can you please advise?

    this is from system log:

    DEBUG (7): Running SMTP Pro Self Test
    DEBUG (7): Development mode: disabled
    DEBUG (7): Raw connection test….
    DEBUG (7): skipped, disabled.
    DEBUG (7): Actual email sending test….
    DEBUG (7): Disabled, or no matching transport
    DEBUG (7): Test email was not sent successfully: Unable to send mail.
    DEBUG (7): Actual contact form submit test…
    DEBUG (7): Complete

    exception.log

    ERR (3):
    exception ‘Zend_Mail_Transport_Exception’ with message ‘Unable to send mail. ‘ in /var/www/lib/Zend/Mail/Transport/Sendmail.php:137
    Stack trace:
    #0 /var/www/lib/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /var/www/lib/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /var/www/app/code/core/Mage/Core/Model/Email/Template.php(454): Zend_Mail->send()
    #3 /var/www/app/code/community/Aschroder/SMTPPro/Model/Email/Template.php(17): Mage_Core_Model_Email_Template->send(‘xxx@xxx.xx…’, NULL, Array)
    #4 /var/www/app/code/core/Mage/Core/Model/Email/Template.php(506): Aschroder_SMTPPro_Model_Email_Template->send(‘xxx@xxx.xx…’, NULL, Array)
    #5 /var/www/app/code/community/Aschroder/SMTPPro/controllers/IndexController.php(177): Mage_Core_Model_Email_Template->sendTransactional(‘contacts_email_…’, ‘general’, ‘xxx@xxx.xx…’, NULL, Array)
    #6 /var/www/app/code/community/Aschroder/SMTPPro/controllers/IndexController.php(134): Aschroder_SMTPPro_IndexController->_sendTestContactFormEmail()
    #7 /var/www/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Aschroder_SMTPPro_IndexController->indexAction()
    #8 /var/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(‘index’)
    #9 /var/www/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #10 /var/www/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #11 /var/www/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #12 /var/www/index.php(87): Mage::run(”, ‘store’)
    #13 {main}

  10. tata
    October 30, 2012

    found why magento could not send emails. it was due to httpd boolean setting httpd_can_network_connect was set to off. solution was to

    setsebool -P httpd_can_network_connect on

  11. Meghan Lundy
    November 27, 2012

    Any word on if you will be integrating this to work with Magento EE 1.12?

  12. Frederik Krautwald
    December 15, 2012

    I must say, the support provided here is *fantastic*!!

  13. Nikhil Suvarna
    December 31, 2012

    I am using your SMTP Pro module in magento to send mails.
    It seems to be working fine with Gmail settings, but when I try to use it with custom SMTP setting, the self Run test produces he following error
    “Unable to send test email. Exception message was: sorry, this MTA does not accept masquerading/forging , auth #5.7.1”.
    My magento is hosted on an Ubuntu server. Can anybody please provide any pointer so as to what am I missing?

  14. Nikhil Suvarna
    December 31, 2012

    I am using your SMTP Pro module in magento to send mails.
    It seems to be working fine with Gmail settings, but when I try to use it with custom SMTP setting, the self Run test produces he following error
    “Unable to send test email. Exception message was: sorry, this MTA does not accept masquerading/forging , auth #5.7.1”.
    My magento is hosted on an Ubuntu m/c. Can anybody please provide any pointer so as to what am I missing?

  15. Eric
    January 8, 2013

    Great when using PHP 5.3, but won’t work with 5.4. New orders won’t be sent, gives an error with Zend Mail.
    All other emails work fine, just new orders won’t work.

  16. Henrik
    February 11, 2013

    Hey
    I installed this extension last night and I’m having some problems with the SMTP connection witch normally works just fine on joomla, drupal and wordpress installations.

    I keep getting the error “Unable to send test email. Exception message was: 5.7.1 : Sender address rejected: not owned by user”

    I’m running my Magento installation on linux, any ideas as to why this happens to me?

  17. fabio
    March 12, 2013

    send only to gmail

    not send to other email and smtp not work

  18. Hoa
    April 17, 2013

    Thanks for the module. I have tested what I need to.
    I’ve disable from config > system and config > advanced but still get entry in log file . What is the best way to uninstall completely? Can I delete via FTP all files which came on the module manually?

  19. Stuart
    May 29, 2013

    First off – excellent module. I run several magento stores for clients & up to now been using successfully with GMAIL no problems. However, with godaddy.com (you get free email account with a domain) I get –

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using SMTP configuration options
    Connection to Host SMTP server successful.
    Sending test email to your contact form address sales@poco-enterprises-ltd.co.uk:
    Unable to send test email. Exception message was: Sorry, your envelope sender is in my badmailfrom list. …
    Please check and double check your username and password.
    Contact Form test email used SMTPPro to send correctly.
    Testing failed, please review the reported problems and if you need further help visit ASchroder.com to contact me.

    BUT the emails are successfully sent!!

    I use the following settings – login authentication
    email/password
    host = smtpout.europe.secureserver.net
    port = 465
    SSL Sec = SSL

    Bug ?

    Stuart

  20. Callum
    June 23, 2013

    SSL sending stopped working with Gmail since yesterday but it works when set to “No SSL” or “SSL TLS”.

Comment navigation
← Older Comments

Comments are closed.

© ASchroder.com 2023
Storefront designed by WooCommerce.