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.
- supports self testing right from the Magento admin UI
- logs friendly messages if you enable logging in var/log
- has helpful comments to guide you when configuring
- 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:
And also a screenshot of a successful self test result:
If you have any comments, suggestions or feedback, please let me know.
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?
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
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
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
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
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
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
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
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}
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
Any word on if you will be integrating this to work with Magento EE 1.12?
I must say, the support provided here is *fantastic*!!
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?
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?
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.
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?
send only to gmail
not send to other email and smtp not work
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?
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
SSL sending stopped working with Gmail since yesterday but it works when set to “No SSL” or “SSL TLS”.