Lesti::Smtp

Fork me on GitHub

Lesti::Smtp replaces normal Sendmail by Smtp.logo-450x450 That allows you to send your emails over the smtp-server of your email-account. This reduces the spam-ranking of your mails.

Where are the configurations?

You can find the configurations under System => Configuration => Advanced => System => Lesti Smtp.

It doesn’t work?

If no email was send, please be sure to enable logging of magento and have a look at /var/log/exception.log. Zend_Mail should write a understandable exception in this log file.

Magento Version?

Lesti_Smtp is compatible with Magento CE 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8

Possible conflicts?

Lesti::Smtp rewrites the model core/email_template.

16 thoughts on “Lesti::Smtp”

  1. Hello:)

    Thank you for the good extension, this is exactly what I was looking for:)

    But I’m doing something wrong probably, because I can’t sent mails from magento. If you can help me a bit it would be wonderful:) My version of magento is 1.7.0.2. Thank you very much for your time and effort:)

    Wish you a nice day:)

    Sincerely,
    Peter

    1. Hello Peter,
      If zend_mail can’t send, you should have an exception in var/log/exception.log. Logs should be enabled to see. I hope that helps, if not, feel free to contact me again.

      Best Regards
      Gordon

      1. It works!:) Thank you for your help, I didn’t know about the log file, the problem was wrong sender email address and my mail server blocked it. I’ve changed it and now everything works great. Thank you again;)

        Wish you a nice day;)

        Sincerely,
        Peter

  2. Hi, installation seems to have gone correctly. But I’m still not receiving any emails. I am not sure how to modify the log file you’ve mentioned above. Can you give me some help?

    Thanks!

    1. Hello,
      you don’t need to modify the log file. But if you don’t get email, magento will log in exception.log the error message. Mostly there are some mistakes with auth. For example wrong username or password.

      Best Regads
      Gordon

  3. Thanks Gordon. Works great with Amazon Web Services SES.

    Here is an example with the settings that worked for SES:
    Enable: Yes
    Host: email-smtp.us-east-1.amazonaws.com
    Port: 587
    Username: AKIADSDKJSDLKJSADLKJASA
    Password: AKJHLSDJuasdASLKJASDKJHSDHJKHjjlkjjo
    SSL: tls
    Auth: plain

  4. I’ve been using Lesti::smtp in many of the stores I’ve built without any issues. This makes me believe there’s no problems with the module.
    Nevertheless, I’m in trouble with a new client’s install where I cannot send emails using smtp (php mail works great, but sends to different recipient address).
    Here is an extract of my exception log file:
    exception ‘Zend_Mail_Protocol_Exception’ with message ‘Connection refused’ in /home/targetst/public_html/citropack.com.br/lib/Zend/Mail/Protocol/Abstract.php:277
    My settings are:
    Host: smtp.citropack.com.br
    Port: 587
    SSL: tls
    Auth: login

    Can you help, please?

    I’m using Magento CE 1.7.0.2 for this store, but I can confirm that the module works great with Mage CE 1.8.0

    Thank you very much.

    Airton

    1. Hello Airton,
      that means zend can’t open a socket to the given connection. The transport, host or port is wrong.

      Best Regards
      Gordon

  5. Hi Gordon,

    I just have installed your extension for my magento webshop because i not can get my own mailserver working at debian using postfix etc.
    So after the installation i have used the hotmail smtp server like the following:
    enable = yes
    host = smtp.live.com
    port = 25 or 465
    username myemailname@hotmail.com
    password ******************
    ssl = ssl
    auth = login

    exception.log says:

    exception ‘Zend_Mail_Protocol_Exception’ with message ”smtp.live.com ‘ appears to be a DNS hostname but cannot match TLD against known list, ‘smtp.live.com ‘ does not appear to be a valid local network name’ in /lib/Zend/Mail/Protocol/Abstract.php:145

      1. u where right i had a blank space after my smtp.live.com setting but when i change it still not working

        now i getting the follow:
        exception ‘Zend_Mail_Protocol_Exception’ with message ‘Connection timed out’ in /lib/Zend/Mail/Protocol/Abstract.php:277

  6. Hi Gordon,

    Very nice module, I use it a lot but now I have a magento 1.9 system but when installing, clearing cache, logout etc it doesn’t show in the system menu. Any idea how I can fix that?

    Sander

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>