Posted on

Latest version of SMTP Pro Finally Uploaded to Magento Connect

Geez it’s been a long time coming thanks to Invalid package.xml format errors and duplicate maintainers and goodness-knows-what else. You can finally get the latest version of SMTP Pro – 1.3.4 – even though it’s identical to 1.3. (thank Magento Connect…).

For those who want to install the Magento extension manually (and if you are engineering Magento you probably should) – you can get version 1.3.4 of SMTP Pro here.

If you read my last post on the improvements, you’ll know that it has some great new features for sending, and logging email in Magento using either SMTP or Gmail/Google Apps. So please give it a try and let me know what you think.

52 thoughts on “Latest version of SMTP Pro Finally Uploaded to Magento Connect

  1. i am getting that error.
    what i should do?

    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@clockworx.com.cy:
    Test email was sent successfully.
    Contact Form test email did not use SMTPPro to send.

  2. Have you tried submitting the contact form manually yourself to see if it works as expected. The test is saying the contact form did not use my extension to send – but it would not be impossible (it may even be likely) that the fault is with the way I test that. Let me know.

  3. the form is sending the email. but the test is saying that is not
    is just extension’s test report fault?

  4. it might be – if you create a new account, reset your password, email a product to a friend, do the emails work?

  5. I am getting the error

    SMTPPro: Email not valid for sending – check template, and smtp enabled/disabled setting

    when I try to send any email out via Magento (order confirmation, invoice, shipping, not even contact form). However, I was able to get the test email sent out just fine.

    Can you please enlighten me on what’s causing this ?

  6. nvm. problem solved. it seems that when i upgraded to 1.4.1.1 the email templates were somehow removed.

  7. Hi,

    I have Magento 1.4.0.1 and i have installed SMTP Pro 1.3.4, all sends work fine,but i try use Newsletter and i don’t work fine 🙁

    I get this error in system.log:

    2010-07-30T08:03:17+00:00 DEBUG (7): SMTPPro is enabled, sending email in Aschroder_SMTPPro_Model_Newsletter_Template
    2010-07-30T08:03:17+00:00 DEBUG (7): Preparing the SMTP Email transport, details are: \n username=
    password=
    host=
    port=
    ssl=ssl
    auth=login

    2010-07-30T08:03:17+00:00 DEBUG (7): Returning transport
    2010-07-30T08:03:18+00:00 DEBUG (7): ReplyToStoreEmail is enabled, just set Reply-To header: mail@mail.com
    2010-07-30T08:03:18+00:00 DEBUG (7): About to send email

    (i clear in paste all personal data)

    And it’s all i haven’t message: Complete! …..

    Can anyone help me?

    Thx, regards

  8. Hi Ashley, could you explain how you solved Invalid package.xml format errors?
    Thanks in advance

  9. Thank you for the extension!

    Where can I download the .tgz of the latest code to update it manually, without using magentocollect
    like written here: http://www.aschroder.com/2010/03/magento-smtp-gmail-and-google-apps-email-combined-extension-released-at-last/ ?

  10. Hi, netivaim – it was pretty random actually so I may not be much help, I just kept making new version numbers and uploading and getting different errors, then eventually it worked. Non-deterministic errors are my favourite!

  11. Hi, get version 1.3.4 here – I’ll update the blog post soon. Triple check the capitalization of ASchroder – I think the Magento connect version is AS not As.

  12. Congrats on getting this into Magento Connect! I’m looking forward to setting it up on my next shop with just a few clicks.

  13. I cannot get this to work with Gmail. I’ve properly changed the MX records on my server to gmail, and have successfully been able to to use the email accounts from within gmail. But using one of those emails for this plugin still isnt working. See the error from the self test:

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail configuration options
    Failed to connect to SMTP server. Reason: Connection refused(111)
    This extension requires an outbound SMTP connection on port: 587
    Sending test email to your contact form address sales@descuentodeldia.com:
    Unable to send test email. Exception message was: Connection refused…
    Please check and double check your username and password.
    Contact Form test email did not use SMTPPro to send.

    Is there anything outside of Magento, possibly within Gmail that I should look at?

  14. Hi, Scott – That ‘Reason: Connection refused(111)’ makes me straight away think hosting security or something like that. Can you try a ‘telnet smtp.gmail.com 587’ and a ‘telnet smtp.gmail.com 465’ both on the command line of your server?

  15. Thanks for that suggestion. It seems I’m unable to connect to 587, but 465 connects fine. So I changed the extensions configuration options to SMTP, through port 465, SSL. All seems to be in order now. Thank you again for the help! I love the Email log by the way. Magento should build this into the core system.

  16. Hello Ashley,
    Thank you for this great extension. I’ve been using it for several months now without any problem – on a magento 1.3. I’ve just installed a Magento 1.4.1.1, and it works perfectly too, except that the sender e-mail address in mine. This is not too bad because I still can see which address has been filled in the form but it was so convenient when I just had to click my “reply” button 😀

    Any idea ?
    Many thanks ^^

  17. Glad to hear you’re up and running. It should be in core, but then what would I do with all my spare time?!

  18. Hi, Nlee – Have you tried using the use-reply to flag? It should actually preserve the contact form reply-to header anyway.

  19. Testing outbound connectivity to Server:
    Using SMTP configuration options
    Failed to connect to SMTP server. Reason: Connection refused(111)
    This extension requires an outbound SMTP connection on port: 587
    Sending test email to your contact form address info@bizarrastore.com:
    Unable to send test email. Exception message was: Connection refused…

  20. @Kellogs – that looks like a hosting problem to me – check your webhost allows outbound connections.

  21. Hi, I’ve installed the latest version on Magento ver. 1.3.2.3 – connect manager shows it as installed. Problem is, I can’t find it anywhere in the administration. Any ideas?

  22. Error 404 on backend’s email log and self test when I add store code to frontend urls.
    Without it, works fine.

    mag ver: 1.4.1.1
    mod ver: 1.3.4

  23. Hi,

    I’m using your SMTP pro and it works great. Now I’d like to use multiple addresses with smtp pro to send large list of newsletter subscribers such as do your Gmail APP extension… How can I do it?

    Thank you in advance
    Domenico

  24. When testing SMTP sending test I got this message:
    Testing outbound connectivity to Server:
    Using SMTP configuration options
    Connection to Host SMTP server successful.
    Sending test email to your contact form address myaddress@myserver.com:
    Test email was sent successfully.
    Contact Form test email did not use SMTPPro to send.
    Testing failed

    I receive the test message but i suppose not from SMTPPRO…?

  25. That’s possibly a false-negative, I have had bug reports of that nature before. Easy way to test is to purposefully put bogus credentials into the SMTP extension, and then try to send a contact form message from the front end. If it sends, then it doesn’t use smtppro.

    Cheers,
    Ashley

  26. Thank you Ashley for your response and that very nice extension! So I discover that your mail send class was overwritten by an other extension.
    It was a pure conflict.

  27. Hi,

    does this Extension work with 1.3.x?

    I have it installed but all mails are still send via local sendmail.

    When pressing test i get this stange error/succes mix…

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using SMTP configuration options
    Failed to connect to SMTP server. Reason: ()
    This extension requires an outbound SMTP connection on port:
    Sending test email to your contact form address test@test.test:
    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.

  28. What’s wrong? Ashley, could you help me? waiting for your reply

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail configuration options
    Failed to connect to SMTP server. Reason: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution(0)
    This extension requires an outbound SMTP connection on port: 587
    Sending test email to your contact form address daniel.cheny@gmail.com:
    Unable to send test email. Exception message was: Could not open socket…
    Please check and double check your username and password.
    Contact Form test email did not use SMTPPro to send.

  29. Hi, Daniel
    Not to seem like one of _those_ computer nerds but did you have at least a scratch around on Google for the reported error? I just did a quick 1 minute search and found several strong leads including this one. In any case I think you should consult with your web host as it sounds environment related to me.

  30. It works. 🙂
    Thanks, Ashley

  31. Hello,

    Thanks for this cool extension. I’m struggling with the following error:

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail 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 info@bagelspice.com:
    Unable to send test email. Exception message was: Connection timed out…
    Please check and double check your username and password.
    Contact Form test email did not use SMTPPro to send.

    Any ideas?

    Thanks!

    B

  32. Ash,
    90% sure the “mail send class was overwritten by an other extension.” one culprit is EbizMarts Mailchimp sync – http://www.magentocommerce.com/magento-connect/ebizmarts/extension/1208/ebizmarts-mail-chimp-module
    Before install of the above, the Contact Form test works with your extension, after install of Ebizmarts, it “fails” as per webj’s problem
    Both very popular extensions now
    Matt

  33. Hi, Matt thanks for stopping by sounds like a clash to me, in the next SMTP Pro I’ll add some hooks so that other extensions can more easily manipulate sent emails without ruining the SMTP Pro settings.

  34. Yeah, I ran into the same issue using EbizMarts’ Mailchimp plugin. I quickly looked through both plugins /Model/Email/Template.php files to see if I could “merge” them to make them work with each other, but there wasn’t a huge amount going on in the Mailchimp plugin sans the code to route messages through STS, so I wasn’t sure if there are other files that work in conjunction with the Template.php to send mail out.

    It’s a real drag that these two plugins don’t play nicely with each other since their both so common. Ironically, they were both working when I was running old versions of each software. Alas, I needed a new feature from the Mailchimp extension and thats what I get for trying to improve something that wasn’t broken ><.

  35. Hi! Can’t find any docs for SMTP Pro – apologies if there are any, I did look.

    Here below are the settings I used to ‘Run Self Test’ – forgive the comments, your hard work for free has helped many people I know, I just hope I can help you gain more through constructive criticism.

    There are too many sections in Config->Advanced->System for me to make complete sense of:

    Mail Sending Settings – do these have any effect?
    Disable Email Communications No
    Host localhost
    Port (25) 25
    Set Return-Path no

    SMTP Pro Email General Settings – what does this section do that the similarly-named but different section below doesn’t do?
    Choose extension option SMTP
    Use Store Email Addresses for Reply-to No
    Development Mode options Disabled
    Log all messages Yes

    SMTP Pro Email Google Apps/Gmail Settings

    mystandaloneaccount@gmail.com
    mystandaloneaccount password

    SMTP Pro Email SMTP Settings – does this mean ‘settings if you tske the SMTP option in SMTP Pro Email General Settings’ (above)?

    Authentication Login
    Username mystandaloneaccount@gmail.com
    Password mystandaloneaccount password
    Host smtp.gmail.com
    Port (intentionally blank)
    SSL Security SSL

    This is what I get:

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using SMTP configuration options
    Failed to connect to SMTP server. Reason: ()
    This extension requires an outbound SMTP connection on port:
    Sending test email to your contact form address mycontactformaddress@mydomain.com:
    Test email was sent successfully.
    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.

    When I change Choose extension option to Google Apps/Gmail it hangs with a ‘no data received’ browser error and I have to back-arrow to return to the magento config page.

    Also, I don’t understand what ‘Test email was sent successfully’ means as, if the line ‘Failed to connect to SMTP server’ is true, by what magic did the SMTP commands get issued?

    I get the ‘If you are seeing this email then your SMTP Pro settings are correct!’ email though, and I simultaneously get the ‘Contact Form’ email successfully too.

    What I want is to use my Google Apps Domain and, as I couldn’t get it to work, I fell back to using a standalone gmail account. Now I’d like to get the standalone account to work without the errors, then go on to get the Google Apps domain to work.

    One minor thing – could any of the ‘Run Self Test’ screen messages that have the word ‘success’ in them be in a green hue rather than a red one?
    Thanks again for all your freely given hard work – hope this helps and grateful for any response.

  36. Hi, Chris
    Thanks for stopping by and for the feedback.

    All good questions and they deserve full explanations. I have answered your questions in a mini-guide blog post. Hopefully helpful for others with similar questions too.

  37. Hi,

    The last version of our MailChimp Sync extension adds STS support (Amazon SES through MailChimp).

    In order to add this feature, we had to rewrite the Mage_Core_Model_Email_Template class, so if you have other module, like SMTP Pro) that also rewrites this same file, it is very likely that you have a module conflict.
    If you don’t use the STS feature you can easily fix this issue by editing the /app/code/local/Ebizmarts/Mailchimp/etc/config.xml
    file and comment out the following section:

    Ebizmarts_Mailchimp_Model_Email_Template

    Clear cache after doing so and you’ll get rid of the error.

    Thanks!

  38. Oops – I wasn’t getting email notifications of comments for a few weeks and totally missed this, now I’ve gone and done a blog post almost exactly the same as your comment, doh! Sorry about that, didn’t mean to seem like I was claiming the fix!

  39. You could also rename the files in app/etc/modules so that the Aschroder_SMT.xml file is sorted alphabetically after the Ebizmarts_MailChimp.xml file. Or if you use modman just rename the symlinks. http://colin.mollenhour.com/2011/10/13/resolving-magento-module-dependencies-without-using-the-depends-element/

  40. Very nice idea. Another of the many benefits to be had from using modman 🙂

  41. attempted install from the Download Connect Manager but I’m not seeing SMTP pro installed in the interface. I am running magento version 1.6.1.

  42. Magento 1.6.1.0
    i don’t receive any error during the test but i dont receive any email when i have new user registration, or new order.
    I receive only contact form email.
    thank you.
    Can you help me?
    i read yeat all forum issues and all other solution…

    thank you

  43. I installed the SMTP module Pro on the latest (stable) Magento 1.6.2
    The mail “contact form” is sent without using SMTPPro

    I checked by changing the password for Google Apps / Gmail.
    The first mail is not sent
    The mail “contact form” is always sent.

    An idea for everything to be sent by SMTPPro

    Copy the error message (in red)

    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 ventes@e-avantage.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.

  44. Hi,

    Hope you are doing good!!!

    Well, I have tested SMTP pro on localhost but its generating error when i click self test

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using SMTP configuration options
    Failed to connect to SMTP server. Reason: No connection could be made because the target machine actively refused it. (10061)
    This extension requires an outbound SMTP connection on port: 465
    Sending test email to your contact form address website@prozoneweb.com:
    Unable to send test email. Exception message was: No connection could be made because the target machine actively refused it. …
    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.

    Please help me regarding this

  45. Hi everybody,

    Did you find a solution for your problem? Underneath is my problem.

    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 *****@*****.nl:
    Unable to send test email. Exception message was: Could not open socket…
    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.

    Meanwhile this problem is driving me crazy……! I’ll hope somebody can help me further to solve it. I’ve tried already many things…

    We’re using Magento version 1.6.2.0.

    Thank you already in advance for reading my case.

    Kind regards,
    Hans from the netherlands

  46. Hi Aschroder…
    Im recieving the following issue, can you please help urgently?
    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail 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 hello@example.com:
    Unable to send test email. Exception message was: Connection timed out…
    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.

    your help on this would be amazing!!!!

  47. I’m getting error. I use SMTP Pro Email Google Apps/Gmail
    Fllow is the result. Thank you1
    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail configuration options
    Failed to connect to SMTP server. Reason: ()
    This extension requires an outbound SMTP connection on port: 587
    Sending test email to your contact form address Lisa:
    Unable to send test email. Exception message was: 5.1.2 We weren’t able to find the recipient domain. Please check for any 5.1.2 spelling errors, and make sure you didn’t enter any spaces, periods, 5.1.2 or other punctuation after the recipient’s email address. s20sm712620igs.10 …
    Please check and double check your username and password.
    Contact Form test email did not use SMTPPro to send.

  48. Hello, am getting that error. 🙁

    ASchroder.com SMTP Pro Self-test results
    Testing outbound connectivity to Server:
    Using Google Apps/Gmail 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 vudu.contato@gmail.com:
    Unable to send test email. Exception message was: Connection timed out…
    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.

    What’s i doing wrong?

  49. Is it possible to extend the Magento SMTP Pro app so you can add custom x-headers? Generally you would put the email name in the header.

    A lot of SMTP services allow enhanced reporting by being able to filter on these tags but you don’t always want to restrict yourself to a service which has a Magento app as it means if you need to change you have to get a new extension.

Comments are closed.