Posted on

New Version of SMTP Pro now supports Magento 1.4.2 and has fewer bugs

I’ve been neglecting my Magento extensions a bit lately and it somewhat ironically caught up with me yesterday. We’re developing a new store on Magento 1.4.2 and when it came to setting up the Google Apps email I naturally enough installed my own extension (that is why I built it, after all). This post describes the fixes and changes in the latest version of my SMTP Pro Magento email extension.

I found a number of issues with it, one related to the sub-directory install, one related to multi-store and others to do with the Magento version, that needed to be fixed (in a hurry). So to those of you reporting issues over the last month or so, sorry for the delay getting to them. Better late than never eh Fontis.

In addition to testing with Magento 1.4.2 which I can confirm works, here’s what I have fixed/changed:

  • Fixed the self-test when running it from a webstore installed in a subdirectory.
  • Fixed the Cannot set standard header from addHeader() exception. It was caused by an upgrade to Zend in Magento 1.4.2. Reported here.
  • Added German translations which I got from Thomas at NetResearch, Many thanks! (and apologies for taking months to finally roll them out).
  • Added better logging around the ‘not valid for send’ state.
  • Fixed the 404 error you get when running self-test on a store with the ‘use store code in url’ setting turned on. I suspect this may have been causing a few issues.

The SMTP extension is available on Magento Connect or you may prefer to download your Magento connect extensions manually. The release file for SMTP Pro version 1.4.0 is available here if you like to install Magento extensions manually.

30 thoughts on “New Version of SMTP Pro now supports Magento 1.4.2 and has fewer bugs

  1. Thank you for the support help and the great plugins, Ashley. You can count me as a big fan!

  2. I’m looking for instructions regarding this extension. Do I need to disable email sending from the default System>Config>advanced?

  3. Hi

    I’m encountering an error if I turn on the logging.

    Here’s the error message:
    exception ‘PDOException’ with message ‘SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘magento.smtppro_email_log’ doesn’t exist’ in /home/myuser/public_html/lib/Zend/Db/Statement/Pdo.php:228

    Because of the missing table, I also can’t access the Tool>Email Log.

    Can the table be created manually cos the emails have been sent correctly.

    Thanks.

  4. The table should have been created when the extension was first installed. Can you tell me if there is an entry for smtp pro in table core_resources? if there is, try deleting it, and then the install script should re-run. If not, then that’s very weird!

  5. Hi Ashley

    Not sure why but after I cleared cache under Cache Management and it re-created the table.

    Now it’s working fine.

    Thanks.

  6. Hi

    Do you have any plan to allow the email sender to be set as store email address, rather than just the Gmail/Google Apps login email address?

    Thanks.

  7. Greetings.

    Also, your extension to submit Sitemaps, I also use this to send emails from my website. So thank you for your wonderful contributions.
    But I have a problem when used in conjunction with the extension Omen Sponsorship. Do not send the invitation email.
    This extension allows a sponsor to send emails to other users who will be godchildren. Sponsor earn pointsa when a godson making a purchase.
    When I try to send them emails do not arrive, but neither are log records in the administration, or the files in / var / log.
    I’ve also read that the latest version fixes a problem with the newletters. I do not know if there is a relation with send invitation mails. I do not know if there is a relation since sending invitation emails may also include multiple submissions in one session.
    Would appreciate any help.

  8. Greetings.

    Also, your extension to submit Sitemaps, I also use this to send emails from my website. So thank you for your wonderful contributions.
    But I have a problem when used in conjunction with the extension Auguria Sponsorship. Do not send the invitation emails.
    This extension allows a sponsor to send emails to other users who will be godson. Sponsor earn points when a godson making a purchase.
    When I try to send these emails do not arrive, but neither are log records in the administration, or in the files in / var / log.
    I’ve also read that the latest version fixes a problem with the newletters. I do not know if there is a relation since sending invitation emails may also include multiple submissions in one session.
    Would appreciate any help.

  9. I recently switched over to a dedicated server and my e-mails stopped working. I tried using your addon and they still aren’t working, but here is the weird thing. Your self test sends me an e-mail successfully, the newsletter subscription and contact form emails work fine, but order and shipping confirmation emails still don’t work.

    Do you have any idea why or maybe know what file actually does the sending?

    Thanks!

  10. @Dustin It sounds like a textbook example of an extension clash – are you using any extensions in the order area of Magento, say attaching PDF’s for example?

  11. Not using attachments but at one point had used a one page checkout extension but it has been disabled for a while. The only other extension is yours. I will admit though even not using SMTP it wasn’t working but it was weird that the extension was sending successful e-mails and the order emails weren’t going out.

  12. I have installed your extension SMTP Pro in Magento, but I upgraded to 1.5.0.1 and I encounter a serious problems.
    The order confirmation email and the email button to send order confirmation mail to the customer in the order management window do not work.
    In logs management admin panel notice that the mail is addressed to “array”. And in the system.log file in /var/logs shows me the following error:
    ERR (3): Warning: Illegal offset type in /var/www/html/lib/Zend/Mail.php on line 574
    I do not know if it’s a bug in the core of the new version of Magento or is an error caused by the axtensión.
    Appreciate your help as this is a delicate matter. Thanks in advance.

  13. I installed a fresh copy of 1.5.0.1 and as I am adding extensions, I cannot access this one. Don;t know if this is a problem with your extension or a problem on magento server. Could you check this out. The error I get is: “Invalid package identifier provided: http://connect20.magentocommerce.com/community/ASchroder_SMTPPro

  14. Hi there, huge fan of your extension. Just to reinforce the comment below.. on 1.5.0.1 sign up email and newsletter subscriptions are working but order confirmation is not sent to buyer or seller… keep up the good work.

  15. Actually, I am not sure if all transactional emails are not working in 1.5.0.1.

  16. Hello, I was wondering if it’s possible to have two separate email addresses being used? We have a magento multi-store and while in the ‘default’ view we can see the panel to set up the email settings, we are unable to change this in the second store which is running on a second web address, so we’d like the emails to be coming from that domain not the first one – both domains are set up with Google Apps.

    Also, the ’email log’ does not seem to work on our server and creates an error.

  17. Hi, Josh
    Yes it is possible to set that up – not with the extension in it’s current form though. You could modify it so the SMTP credentials were stored at the website scope. I’ll note it down as a feature request, as what you’re describing makes a lot of sense.

  18. Ashley, any updates on when a version for 1.5.0.1 might be available?

  19. @Sean, sorry but I haven’t even installed a 1.5 test instance on my laptop! Slack I know, but we have had other priorities these last couple of weeks.

    If you would like to help in the meantime; system.log output from a self test, and also from several working/not working email functions (e.g forgot password, order email etc) on version 1.5 would be helpful. I might be able to diagnose just from that.

  20. Ashley, thanks for the reply. Very much appreciated. I really like the plugin at the moment, but having the ability to manage each store separately would be great.

    Do you have any ideas about how to make the email logs work? It’d be useful to know which emails were being sent. I just get an error message.

  21. @Josh – Let me know the error you see and I can probably help – most commonly it seems something goes wrong during installation and the table does not exist.

  22. I get ‘There has been an error processing your request’

    And the page that shows when a page doesn’t exist/I’m now allowed access too.

    Then an error log number.

  23. Hi all,
    have tested the patch i posted earlier and all is well again with the world.

  24. Hi! The lattest version of SMTP PRo (1.4.1) don´t send history orders in Magento 1.4.1.1. When I check the ‘notify client by email’ and save the history, a popup apears with: “Cannot Add Order History”. Any idea?

    Thanks

  25. Hi Marcio, please retest with the latest version on Magento Connect (1.4.2)

  26. Just a quick note, there is now a new version of SMTP Pro (1.4.2) which works with Magento 1.5. Check it out.

  27. @Dustin or @Ashley ‘I recently switched over to a dedicated server and my e-mails stopped working. I tried using your addon and they still aren’t working, but here is the weird thing. Your self test sends me an e-mail successfully, the newsletter subscription and contact form emails work fine, but order and shipping confirmation emails still don’t work.

    Do you have any idea why or maybe know what file actually does the sending?

    Thanks!’
    have you find some issue about this problem, i get the same and any idea what can happen..
    would apreciate help or advice or anything allow me to throw this problem out!Thanks

  28. @Ashely: i am using SMTP Pro Email Google Apps/Gmail Settings with host smtp.gmail.com , Port 465 , SSL Security SSL. But i am not getting my email. in system.log i can see the email code. if i click on “Run Self Test” then i got email in my gmail id. but if i click forget password or other module then i did not get any email.. i am working on my local wamp server. i mean want to check email in my local machine.

  29. Hi Aschroeder,

    Does your extension support sending out attachments?

    I’m trying to send without success.

    Kind regards,
    Mauricio.

  30. Hi Ashley, I’ve just installed SMTP Pro via Magento Connect… but I can’t seem to get SMTP Pro config to show up in my admin section. I’ve tried clearing caches, logging out/in. Any suggestions?

    (Magento 1.4.1.1)

Comments are closed.