Magento SMTP, Gmail and Google Apps Email combined extension released (at last)
TweetI have finally finished my Magento SMTP, Gmail and Google Apps Email combined extension. It will be available on Magento Connect shortly (as soon as Varien fix the little bugs in the ’submit extension’ interface – namely version and stability appear to be required and missing from the form.
I won’t bore you with the details again – but I have tested this working on version 1.4 of Magento (along with 1.2 and 1.3 as always). So for those of you having trouble with email on Magento 1.4 – give this alpha release of my SMTP, Gmail and Google Apps email Magento extension a go. Please note it is a development release, and you should definitely not install it on a production site without first testing it in your development environment.
With this extension you can:
- Use Magento with your choice of SMTP server, port and authentication/encryption schemes
- Use Magento with Gmail or Google Apps Email very easily
Please download it and test it out, let me know any feedback you may have.
Update: Thanks to Paulius there is a specially packaged version of the extension that will make it easy to install manually until I can get the Magento Connect version updated (which is still failing). Get it here!
You might also be interested in:
- Google Apps Email/Gmail Magento Extension v0.5 released
- Pre-release: SMTP Pro / Magento Gmail & Google Apps Email Beta testing (win a prize)
- Sneak Peek at the New Magento Gmail/Google Apps and SMTP extension
- New SMTP Pro Magento Email extension released
- Using Gmail or Google Apps email with Magento
Categorized as Google Apps Email Magento Extension, Magento, SMTP Pro Magento Extension 'ers make great lovers Tweet
![Email Me: ashley.schroder[at]gmail Email Me: ashley.schroder[at]gmail](/wp-content/themes/aschroder/images/email.png)











How do I install this manually?
Thanks!
Ralf
Hi, Thanks for giving this a go – copy the Aschroder directory into $magento_base/app/code/community and the file in the modules directory goes into $magento_base/app/etc/modules , then just refresh your magento cache – let me know if that works ok.
I set the reply to store email to “No” in the backend but but it’s still using the store email in the email header when I reply back. Any ideas? Otw, it works great!
Thanks for the info. I installed it as described and refreshced all cache but I don’t see the configuration screen anywhere. Where is that hiding?
Thanks
Ralf
@optical, reply-to header – Can you try enabling logging and sending me the output, I should have logging in there around setting those headers.
@Ralf, it shows up in the system section of the configuration – if you check under the advanced section, you should see the extension in the list, if you don’t, it’s not installed.
Hm, the archive under ‘download it’ only contains 1 PHP file: Aschroder_SMTPPro-1.0.1.
It does not contain a ‘Aschroder’ directory. I just created one manually but it was’t inluded.
It would appear I am missing code. Can you inlcude the ‘Aschroder’ directory in the archive.
THANKS!!!
Ralf
Perhaps try downloading again? Contents of the archive should be as follows:
$ tar tzvf Aschroder_SMTPPro-1.0.1.tgz-rw-rw-rw- 501/20 4301 2010-03-20 20:01 package.xml
-rwxr-xr-x 501/20 995 2009-09-27 16:36 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Block/Adminhtml/Test.php
-rwxr-xr-x 501/20 3764 2010-03-09 23:51 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/controllers/IndexController.php
-rwxr-xr-x 501/20 1825 2010-03-20 20:00 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/etc/config.xml
-rwxr-xr-x 501/20 9944 2010-02-04 11:42 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/etc/system.xml
-rwxr-xr-x 501/20 2910 2010-03-09 23:50 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Helper/Data.php
-rwxr-xr-x 501/20 3379 2010-02-04 12:05 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Model/Email/Template.php
-rwxr-xr-x 501/20 4397 2009-10-17 22:03 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Model/Newsletter/Template.php
-rwxr-xr-x 501/20 795 2009-09-27 16:36 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Authentication.php
-rw-r--r-- 501/20 598 2009-09-27 16:36 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Development.php
-rw-r--r-- 501/20 545 2009-09-27 16:36 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Option.php
-rwxr-xr-x 501/20 628 2009-09-27 16:36 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Ssl.php
-rwxr-xr-x 501/20 2137 2010-02-04 12:02 Aschroder_SMTPPro-1.0.1/Aschroder/SMTPPro/Model/Email.php
-rw-r--r-- 501/20 202 2010-02-04 11:39 Aschroder_SMTPPro-1.0.1/modules/Aschroder_SMTPPro.xml
Any thoughts on how to avoid the issues with Magento not sending MIME versions of emails and being marked as SPAM. Possible even something that just puts in the MIME version a note about requiring an HTML capable email client? Where could I put something like this?
Thanks again for all of your hard work!
Ok, weird. It’s a tgz file but it was always safed as a gz file and became corrupted somehow. In any case I was able to get the files and installed them as you described.
The Aschroder_SMTPPro-1.0.1 directory is now under app\code\community\ and
the package.xml file under \app\etc\modules\
I also flushed the Magento cache and refreshed all cache types.
I still don’t see the config menu anywhere. I checked System > Configuration > Advanced > (I checked all sub-categories)
Any thoughts?
Sorry Ralf, that is not quite right. It’s the next layer down folder
Aschroderthat goes in the community directory notAschroder_SMTPPro-1.0.1.The app/etc/modules directory needs the file called
Aschroder_SMTPPro.xmlnot thepackage.xml– thepackage.xmlis a pear thing that tells pear where to put all the files, sort of an xml version of these comments!When that is all in place you need to check under System-Configuration-Advanced-System for the email settings. If you don’t see them there, check that the module is appearing in the list of modules in System-Configuration-Advanced-Advanced – if it’s not the files are not in the right place, or the cache is not cleared.
Let me know how you get on.
Thanks for your patience with me – as you can tell my first manual Magento extension install. I am fairly new to Magento to begin with.
I was able to set it all up and configure it and got it working fine now. I have a an observations that is hopefully helpful.
I am using this for my Google Apps email and so I set extension option to: Google Apps/Gmail. That did not work. I had to change that to SMTP to get it working.
For others reading this thread … to configure it for Google Apps email use these setttings and make sure your hosting company has the port 465 open.
Extension option: SMTP
Host:smtp.gmail.com
Port: 465
SSL Security: SSL (NOT SSL TLS)
Thanks for this fantastic extension! This is awesome.
I did install this on Magento 1.4.0.1 and am using that in my production environment now.
Ralf
Hi, great that you got it working – those settings are identical to what gmail settings are used under the hood so it’s very strange it didn’t work – can you please let me know the output of a self test, and also the log file output from say a contact form submit?
Hi,
I installed and the Aschroder_SMTPPro shows on the list of modules but when I go to the system section of the configuration I get the below error. Do I have some permission problem or what?
a:5:{i:0;s:171:”Warning: include(Aschroder_SMTPPro_Helper_Data.php): failed to open stream: No such file or directory in /var/www/html/magento/includes/src/Varien_Autoload.php on line 93″;i:1;s:1429:”#0 /var/www/html/magento/includes/src/Varien_Autoload.php(93): mageCoreErrorHandler(2, ‘include(Aschrod…’, ‘/var/www/html/m…’, 93, Array)
#1 /var/www/html/magento/includes/src/Varien_Autoload.php(93): Varien_Autoload::autoload()
#2 [internal function]: Varien_Autoload->autoload(‘Aschroder_SMTPP…’)
#3 /var/www/html/magento/app/Mage.php(520): spl_autoload_call(‘Aschroder_SMTPP…’)
#4 /var/www/html/magento/includes/src/Mage_Adminhtml_Block_System_Config_Form.php(172): Mage::helper(’smtppro’)
#5 /var/www/html/magento/includes/src/Mage_Adminhtml_Block_System_Config_Edit.php(91): Mage_Adminhtml_Block_System_Config_Form->initForm()
#6 /var/www/html/magento/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(78): Mage_Adminhtml_Block_System_Config_Edit->initForm()
#7 /var/www/html/magento/includes/src/__default.php(11251): Mage_Adminhtml_System_ConfigController->editAction()
#8 /var/www/html/magento/includes/src/__default.php(15150): Mage_Core_Controller_Varien_Action->dispatch(‘edit’)
#9 /var/www/html/magento/includes/src/__default.php(14752): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /var/www/html/magento/includes/src/__default.php(16949): Mage_Core_Controller_Varien_Front->dispatch()
#11 /var/www/html/magento/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#12 /var/www/html/magento/index.php(78): Mage::run(”, ’store’)
#13 {main}”;s:3:”url”;s:96:”/magento/index.php/admin/system_config/edit/section/system/key/a9d6d312d6f75950994afc8d2acf5581/”;s:11:”script_name”;s:18:”/magento/index.php”;s:4:”skin”;s:5:”admin”;}[root@jerry report]#
It looks like you don’t have the files installed. Can you please send me the output of this command:
find $magento_base/app/code/community/AschroderAnd also:
find $magento_base/app/etc/modulesHi Ashley,
Here the output you were looking for. I deleted the system log and then ran first a self test and right after a contact form submit. The below is the entire system log after those to actions.
Ralf
2010-03-24T23:56:28+00:00 DEBUG (7): Running SMTP Pro Self Test
2010-03-24T23:56:28+00:00 DEBUG (7): Development mode: disabled
2010-03-24T23:56:28+00:00 DEBUG (7): Raw connection test….
2010-03-24T23:56:28+00:00 DEBUG (7): Complete
2010-03-24T23:56:28+00:00 DEBUG (7): Actual email sending test….
2010-03-24T23:56:28+00:00 DEBUG (7): Preparing the SMTP Email transport, details are: \n username=
password=MASKED
host=smtp.gmail.com
port=465
ssl=ssl
auth=login
2010-03-24T23:56:28+00:00 DEBUG (7): Returning transport
2010-03-24T23:56:31+00:00 DEBUG (7): Test email was sent successfully
2010-03-24T23:56:31+00:00 DEBUG (7): Complete
2010-03-24T23:57:12+00:00 DEBUG (7): SMTPPro is enabled, sending email in Aschroder_SMTPPro_Model_Email_Template
2010-03-24T23:57:12+00:00 DEBUG (7): Preparing the SMTP Email transport, details are: \n username=
password=MASKED
host=smtp.gmail.com
port=465
ssl=ssl
auth=login
2010-03-24T23:57:12+00:00 DEBUG (7): Returning transport
2010-03-24T23:57:12+00:00 DEBUG (7): About to send email
2010-03-24T23:57:15+00:00 DEBUG (7): Finished sending email
I just saw it came out funny. I did delete the username (my email). That was not blank but had the correct value in the log.
Thanks – You’re using the manual settings you input in those log tests aren’t you? Can you try the same thing with the default gmail built settings by using the option in the config (the only difference is the port 587 vs port 465 – which _may_ be the problem on your server). Cheers
The files seem to be in place ok:
$ sudo find /var/www/html/magento/app/code/community/Aschroder
/var/www/html/magento/app/code/community/Aschroder
/var/www/html/magento/app/code/community/Aschroder/SMTPPro
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/controllers
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/controllers/IndexController.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Block
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Block/Adminhtml
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Block/Adminhtml/Test.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Helper
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Helper/Data.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Email
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Email/Template.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Newsletter
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Newsletter/Template.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Email.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Authentication.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Option.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Development.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Ssl.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/etc
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/etc/config.xml
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/etc/system.xml
You have new mail in /var/spool/mail/sknuutin
[sknuutin@jerry magento]$ sudo find /var/www/html/magento/app/etc/modules/
/var/www/html/magento/app/etc/modules/
/var/www/html/magento/app/etc/modules/Mage_Api.xml
/var/www/html/magento/app/etc/modules/Aschroder_SMTPPro.xml
/var/www/html/magento/app/etc/modules/Mage_Bundle.xml
/var/www/html/magento/app/etc/modules/Mage_Weee.xml
/var/www/html/magento/app/etc/modules/Mage_All.xml
/var/www/html/magento/app/etc/modules/Mage_Downloadable.xml
/var/www/html/magento/app/etc/modules/Mage_Widget.xml
/var/www/html/magento/app/etc/modules/Mage_Compiler.xml
/var/www/html/magento/app/etc/modules/Phoenix_Moneybookers.xml
/var/www/html/magento/app/etc/modules/Mage_Centinel.xml
[sknuutin@jerry magento]$ sudo find /var/www/html/magento/app/code/community/Aschroder
/var/www/html/magento/app/code/community/Aschroder
/var/www/html/magento/app/code/community/Aschroder/SMTPPro
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/controllers
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/controllers/IndexController.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Block
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Block/Adminhtml
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Block/Adminhtml/Test.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Helper
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Helper/Data.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Email
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Email/Template.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Newsletter
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Newsletter/Template.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/Email.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Authentication.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Option.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Development.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/Model/System/Config/Source/Smtp/Ssl.php
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/etc
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/etc/config.xml
/var/www/html/magento/app/code/community/Aschroder/SMTPPro/etc/system.xml
and
$ sudo find /var/www/html/magento/app/etc/modules//var/www/html/magento/app/etc/modules/
/var/www/html/magento/app/etc/modules/Mage_Api.xml
/var/www/html/magento/app/etc/modules/Aschroder_SMTPPro.xml
/var/www/html/magento/app/etc/modules/Mage_Bundle.xml
/var/www/html/magento/app/etc/modules/Mage_Weee.xml
/var/www/html/magento/app/etc/modules/Mage_All.xml
/var/www/html/magento/app/etc/modules/Mage_Downloadable.xml
/var/www/html/magento/app/etc/modules/Mage_Widget.xml
/var/www/html/magento/app/etc/modules/Mage_Compiler.xml
/var/www/html/magento/app/etc/modules/Phoenix_Moneybookers.xml
/var/www/html/magento/app/etc/modules/Mage_Centinel.xml
You’re right – that all looks ok – are the permissions OK – is it readable by the web server?
Hi Ashley,
Thank you for a FANTASTIC extension. We tested it on Magento 1.4.0.1 on our online stores: Apple Stuff (www.applestuff.co.za) as well as Game Stuff (www.gamestuff.co.za). Works perfectly!
Thank you for all your hard work!
Cheers
Andre
Online Stuff South Africa
The permissions are ok and files are readable by the web server (apache user). How can I get more debug out from the system?
@Sami – it’s very strange to me. If you have a spare 10 minutes, I’d request you to install on a completely fresh copy of magento, to see if it makes a difference.
@Andre – You’re very welcome.
Hi Ashley,
If your Google Apps setting uses port 587 and SSL TLS (which is the preferred way) than that is the answer right there. Port 587 is blocked on my server, which is why I have to use port 465 and SSL. I guess the mystery is solved
Maybe you could have 2 Google Apps settings. One for 587 and SSL TLS and one for 465 and SSL. But then again, there is really no reason to not just do it manually like it did. It works just fine
and the problem is not your extension but my server settings.
I would just add a note on these settings in the description text right under the option selection box, so people know and don’t have to wonder.
Regards
Ralf
Hi,
i’ve installed gmail/google apps then I’ve used run test and all works, but when i send an email from magento still use internal smtp, then I uninstalled and installed smtppro same problem, i’ve enabled log all ok but only with test normal email don’t generate log end use internal smtp… some suggestion?
thank you
Carlo
Are you sure you don’t have any conflicting extension installed? Can you try on a fresh install of Magento?
not sure, but we would install your plugin on our production site… I’ve installed on a perfect develop copy with all plugin installed… there is a way to know if and how to resolve a conflicting extension?
thank you
@Carlo one way to know if it is a conflict, is by installing it on a fresh copy of Magento with no other extensions.
I can’t get this to work and have tried a couple of different servers, godaddy and gmail. I’m getting Unable to send test email. Exception message was: 554-m1pismtp01-024.prod.mesa1.secureserver.net …
I know the userid (email address) and password are valid as I can log into the godaddy account and uses them to login to email. I’m using port 25 and No SSL for this tool as well.
Any ideas?
Thanks for any help.
Hi, If you’re hosting on Go Daddy then try the Gmail account with ssl port 465 or 587. The 554 error code you’re getting is described here:
http://help.godaddy.com/article/337
Not sure if it relates properly or not though.
One way to do this definitely is to get a better Magento host.
Hi Ashley,
I have installed your module, cleared cache and logged out and in to the admin. But when I go to the system page to put in the settings…all I get is a blank page.
Any ideas why this may be happening?
I really, really need for this thing to work!!!!!!
Thanks
Daniel
And I see it being Enabled in the modules so I know it sees it.
However I tried to send a request for my password to see if it was working on the front end and I got this error…
Warning: include(Aschroder_SMTPPro_Model_Email_Template.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/mysite.com/includes/src/Varien_Autoload.php on line 93
Daniel
Daniel, please triple check the files are in app/code/community/ASchroder and make sure the web server has permission to read them. If in doubt, paste the results of a directory listing and find command on the app/code/community/ASchroder directory.
Yes I have checked…
app > code > community > Aschroder > block > adminhtml
> controllers
> etc
> helper
> model
app > etc > modules > Aschroder_SMTPPro.xml
And permissions seem to be okay.
Any thing else I can try?
bingo! You’re missing an intermediate directory it should be Aschroder/SMTPPro/…
Ashley, man I’m sorry. It is there but I didn’t post it earlier. It is like this Aschroder/SMTPPro/…
Please let me know if you can think of anything else… None of our customers are getting invoice, or anything for that matter! Thanks
Um.. did you install this on a live store? It’s really hard to say what’s wrong
Can you email me directly? Blog comments are probably not the best medium for hasty troubleshooting.
I got Gmail to go through…had typed in wrong port … it’s godaddy I’m having a problem with now and that’s the one that I have to use. I’m using your “Run self test” so I wouldn’t think that it’s small enough and it would not contain any spam. I’m not getting the 554 error any longer, but “Unable to send test email. Exception message was: Could not open socket…” . I’ve been able to send mail through the godaddy server using Thunderbird with no problems. Any ideas?
FYI … The Magento host is an Amazon EC2 server that we set up and I installed Magento on. I should not have to open port 465 in the security group as its going out not coming in. I did so anyway just to see if it was the issue, it was not. Still same problem with “Could not open socket..”
Hi, Jill – can you run
telneton the command line of your ec2 server please? If that works but your PHP code doesn’t then something must be blocking the php from connecting. Perhaps a security setting.I can run telnet on the server. I’m not sure why something would block godaddy info, but not the gmail info as it, on 465 works.
neither… I’m not sure what to suggest to be honest – if you can telnet, I think there is no firewall on the server as such, blocking you. So it must be php related, as you are certain you can use the smtp server in thunderbird locally and gmail works fine. Have you triple checked your godaddy settings?
yeah … even typed with just one finger ..
… very strange .. I’m thinking it must be a godaddy thing. I’m thinking of suggesting to client to use gmail or some kind of mail service. I’m looking at PHP stuff, tried changing the timeout, no difference .. Maybe it’s godaddy & Zend .. I honestly do not know, but thanks for your help
Hi thanks for the extension. The self test works, but I cannot seem to get emails from other areas of the magento site. If I use the “Forgot Password” in Magento, a password should be sent to my email address. However, I never get an email. Any ideas where to go from here?
Thanks
Does anyone know if this will work on 1.4?
Thanks for the great extension!
@Dan – I got your email, glad to hear all working now
@Nar – it should be no problem on 1.4 – please try it and let me know
This extension is wonderful and works perfectly. There is only one thing I am concerned about. After installing this extension I am able to see all messages that my store has sent in my email “sent” folder. This allows me to see passwords in new customer registration emails. I could just change the email template so that the passwords are not sent in the email, but it seems to me to be unethical for website owners to have such easy access to customer passwords. Any ideas?
Interesting point Nar, thanks for stopping by again. My mother always says, don’t put anything in an email, you wouldn’t put on a postcard. I don’t think you need to worry about the website owner having access to the emails that contain the clear text password as much as you do the fact the password is in there at all. A website owner has a million other ways they could access a user account, so if things turn sour, the clear text password is probably the last thing to worry about. But you shouldn’t send the password out across the internet on an email – so your idea to remove it from the template is a good one.
Hello Ashley,
This extension works perfectly and sovled the problems that hotmail EMAIL can not receive any email from magento website at same time. Thanks for your great job!!!
I have installed the files and double checked the order of the directories and files. I get the error ‘Unable to submit your request. Please, try again later’ after submitting the contact form. I am hosting with godaddy and have double checked the smtp settigns and host. I have Magento ver. 1.4.0.1 installed. Any ideas? Thanks.
The run self test redirects me to my index.
Hello Ashley,
I have uploaded all files to my server and double checked the paths. I filled in all the information in the back-end and tested the Contact Us link. However I get the following error “Unable to submit your request. Please, try again later”. I also tried to run the self test and it redirects me to my index. Do the settings under Configuration>System>Mail Sending Settings affect this at all? I have also flushed the Magento cache after updating the settings. I am using Magento ver. 1.4.0.1. Any ideas? Thanks
@Luis – that redirect to index issue could be related to URL key’s try logging in and out again, and check you have them enabled. Enable logging and check the output of the log too – if you get anything, post it here.
Running into a road block: Error :
Using: Google Apps – myemail@mydomain.com
Extension Option: SMTP
Authentication: Login
Username myemail@mydomain.com
Password: ******
Host: smtp.gmail.com
Port: (587) (465) and (26) I have tried
SSL: SSL TLS
My setup went just fine when i connected it to Outlook Express (POP)
Using settings:
Port: 587
SSL TLS
If outlook excepted port 587 then i dont think my host is blocking?
this is the ERROR:
Testing outbound connectivity to Server:
Using SMTP configuration options
Failed to connect to SMTP server. Reason: Connection timed out(110)
This extension requires an outbound SMTP connection on port: 587
PLEASE HELPA!
2010-04-19T16:01:36+00:00 DEBUG (7): Running SMTP Pro Self Test
2010-04-19T16:01:36+00:00 DEBUG (7): Development mode: disabled
2010-04-19T16:01:36+00:00 DEBUG (7): Raw connection test….
2010-04-19T16:01:36+00:00 DEBUG (7): Complete
2010-04-19T16:01:37+00:00 DEBUG (7): Actual email sending test….
2010-04-19T16:01:37+00:00 DEBUG (7): Preparing the SMTP Email transport, details are: \n username=info@mydomain.com
password=MASKED
host=smtpout.secureserver.net
port=3535
ssl=none
auth=login
2010-04-19T16:01:37+00:00 DEBUG (7): Returning transport
2010-04-19T16:01:37+00:00 DEBUG (7): Test email was not sent successfully: Could not read from smtpout.secureserver.net
2010-04-19T16:01:37+00:00 DEBUG (7): Complete
Are you running magento on the same system as outlook? If not then it still could be firewall issue on the system running magento – try a telnet test? e.g:
telnet $host $port– let me know how it goes.That looks like a networking issue to me – have you tried running magento locally and testing the same settings? Perhaps test with a gmail address too, to try and isolate the problem area.
Hi Ashley,
First of all, thanks to you for your SMTP tool.
I have a problem and I don’t passed the test.
I have this configuration:
—SMTP Pro Email General Settings
Choose extension option: SMPT
Use Store Email Addresses for Reply-to: no
Development Mode options: development mode disabled
–SMTP Pro Email Google Apps/Gmail Settings
Email address: “jlmaldo84@gmail.com
Password: “xxxxx”
–SMTP Pro Email SMTP Settings
Authentication: Login
Username: “jlmaldo84@gmail.com”
Password: “xxxxx”
Host: smtp.gmail.com
Port: 465
SSL security: SSL
The result of the test is:
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 jlmaldo84@gmail.com:
Unable to send test email. Exception message was: Could not read from smtp.gmail.com…
Please check and double check your username and password.
If I change the following parameters to:
Port: 465
SSL security: NO SSL
The result of the test is:
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 jlmaldo84@gmail.com:
Unable to send test email. Exception message was: smtp.gmail.com has timed out…
Please check and double check your username and password
Do you have any idea?
Thank you very much
Best regards
Other step:
When I try to telnet to gmail with the next command in the prompt system:
telnet smtp.gmail.com 25, I have the conection but only a few seconds.
Could it be a network problem? I am at home with the firewall off.
@Julio – Good work trouble shooting so far. Two suggestions – if you’re using gmail, why not use the gmail/google apps settings instead of SMTP? And try telnet with port 465 and 587 too.
Hi Ashley,
I have tried telnet with ports 465 and 587 and the same is happening. I connect but only for a few seconds.
I have tried with gmail/google apps and the same problem: Could not read from smtp.gmail.com…
I am using magento 1.4.0.1 with SSL in backend. I am using a USB stick to get Internet so I have any router to manipulate and see if my ports are closed.
I am going to try in another computer with a better conection.
Anyway, any ideas would be welcome.
Best regards,
Julio
Strange – I wonder if it is a php security setting or something. I’m not sure quite what to suggest I’m afraid. Maybe try installing a diff php app e.g wordpress (5mins) and setting up the smtp extension for that to test if it is Magento specific or php specific?
Hi Ashley,
I have just tried with telnet smtp.gmail.com 25 and I am be able to communicate with the smtp protocol so I have gone to use your tool and now it is working. I have tried with 465 port and it is working as well.I don’t know what has happened but now it is working.
Thank you very much
Julio
So, I installed, and it looks great. I’m able to send a test email to my account, but the self test says it can’t get to the server… very odd.
ASchroder.com SMTP Pro Self-test results
Testing outbound connectivity to Server:
Failed to connect to Host SMTP server. Reason: ()
This extension requires an outbound SMTP connection on your specified port.
Sending test email to your contact form address jack@foreverett.com:
Test email was sent successfully.
Testing failed, please review the reported problems and if you need further help visit ASchroder.com to contact me.
I’m trying to get around my host’s inability to be friendly with the email, like the contact us or password resets, etc.
BTW – I have it configured for my gmail account – smtp.gmail.com, SSL. I would like to configure it back to the smtp server i have on my hosting package.
Good work!
Hello,
I trie to use but gote this error:
ASchroder.com SMTP Pro Self-test results
Testing outbound connectivity to Server:
Using SMTP configuration options
Failed to connect to SMTP server. Reason: Connection timed out(110)
This extension requires an outbound SMTP connection on port: 587
Sending test email to your contact form address dbc_lojavirtual@oxigenio.com:
Unable to send test email. Exception message was: Connection timed out…
Please check and double check your username and password.
any idea?
I´m using a fresh install of Magento 1.4.0.1
Kind Regards from Brazil,
Darley Cassimiro
@Almost There – for testing with gmail use the google apps/gmail settings instead of smtp – then at least you can rule out ports/ssl issues with the config. I haven’t seen an error like the one you’re getting before, perhaps enable logging and also post your log output during self test and various other actions (e.g. contact us)?
@Julio – that’s great, glad to hear it
@Darley – I’m leaning to connectivity issues, but a lot of people are getting ‘connection timed out’ errors lately – perhaps it is more of an issue. Can you send log output and also try telnet to the host/port on the command line please?
I switched over to the smtp server for my host, and the self test worked – now if i could only get the email i sent. (I think it’s an issue with the host)
So final question – how do i get the contact form to use your mailer? It still says Unable to submit your request. Please, try again later when i submit
Thanks again!
Does any emailing work, i.e new order, new account etc?
No. WHich is why i was looking @ the smtp server itself. i know this is outside the scope of your blog here, but i would appreciate any ideas.
I’m having the same exact error as Darley. My ports are opened, confirmed by my host at least. I was able to get it to work with my host’s smtp, but not with smtp.gmail.com.
I’ll be in touch about this Joe, if I can get onto a server exhibiting the error, I can try to figure out what’s going on, and determine if it is a common problem affecting gmail/smtp email communication on Magento.
So it looks like I was running the wrong version of your app – i got it off of magneto connect. i removed it and then installed the new version from yoru website, but man when i enable it the admin part is broken.
hmmm… well now it’s a new set of problems
Oh yeah, and I refreshed the cache…
I even flushed and then refreshed…. should i flush the storage cache as well?
What do you mean by broken? What’s not working, do you get an error?
Well the truth is, I’m helping out a work buddy with his problem – i wonder if he botched his install
But, I e-mailed you some of the error reports; I hope they’re useful to you.
Hello,
I had a hard time to make this work and the problem was that booth port, 587 and 465 was close at my server (VPS at Hostgator).
Now is working like a charme. Thank you.
I sugest that add in the test inside of script, a option to check if the ports are open or not. This will save time for many people.
Kind Regards from Brazil,
Darley Cassimiro
http://www.oxigenio.com
So it looks like I was running the wrong version of your app – i got it off of magneto connect. i removed it and then installed the new version from yoru website, but man when i enable it the admin part is broken.
hmmm… well now it’s a new set of problems
@Darley and Amy – sorry for the delay with your comments, seems Akismet was being a bit overzealous, hopefully no one else has been marked as spam incorrectly!
@Darley – the self test checks for outbound connectivity with a actual network connection like so:
$fp = fsockopen($host, $port, $errno, $errstr, 15);so if the ports are closed then this will fail and the self test will report accordingly. At least that is what I understood was happening, is there a different way to test, if so let me know and I will add it – the more testing the merrier.@Amy – Let me know more about your problems with the extension and I can try to help.
Hi
I have installed this extension and “Run seld test” is working fine but when i used Magento contact form i got this error
“Unable to submit your request. Please, try again later”
and here is my log file.
2010-05-09T21:32:44+00:00 DEBUG (7): SMTPPro is enabled, sending email in Aschroder_SMTPPro_Model_Email_Template
any idea ?