Mail Alerts Module not working



  • I installed the 30BS Mail Alerts Module to recieve a Mail after an Order was placed.
    But instead i get nothing. I Uninstalled it and Installed it again but its still not working.
    Some Hints for me would be great 🙂



  • Are you getting other emails? like contact form.
    There is an email test in the back office, try it to see you are getting emails at all.



  • I can recieve such Emails. Although the Customer gets his Order Information to his Email but i dont recieve any incoming Order Mails



  • I used Mail Alerts in PrestaShop too and it was working there but yes.



  • The Customer gets his order_conf but i dont get them. Before the Migration i was getting the new_order Mail to my Email but now its no new_order log to my Mail



  • But in my Systemlogs it says:

    1 Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart Cart 1556 0x 0 20.09.2017 09:59:42



  • Check what Michael said.
    In BO, Advanced parameters -> Email you will see a log of all out going emails.
    Check by the time and date and see if the email was sent to you (you should see your email in the recipient column).
    If you do see a row with you email as recipient and a template ‘new_order’ than the system did sent the email to you, and it was probably got lost/blocked in your email server.



  • I was posting the answer 2 Posts above your Post.



  • Email logs and system logs are 2 different things.
    Read again what I wrote



  • @yaniv14 said in Mail Alerts Module not working:

    Check what Michael said.
    In BO, Advanced parameters -> Email you will see a log of all out going emails.
    Check by the time and date and see if the email was sent to you (you should see your email in the recipient column).
    If you do see a row with you email as recipient and a template ‘new_order’ than the system did sent the email to you, and it was probably got lost/blocked in your email server.

    I only see the the line with the new_order to my Shop Mail before MIgration to TB from PS.

    I tried it with a Test Order and recieved as Customer the confirmation, but nothing goes to my Shop Email.



  • Im using the Community Template from TB.
    I installed the English Translation. Still no new_order Mail to me.



  • Can you check your error_log file.
    Try in your root folder and also in admin folder.



  • Log folders are empty.
    Thats really strange, that our Customers get their Information, but we dont get an Info about the new Order. So i have to look in the BO to see if a new Order is incoming. -.-



  • I Uninstalled the Module and Installed it again.
    If i click now the Buy Button in the FrontEnd i get a White Screen with a message:

    Fehler - Die folgende E-Mail-Vorlage ist nicht vorhanden: /my/path/prestashop/modules/mailalerts/mails/en/new_order.txt

    English: Error - The following e-mail template does not exist:





  • You are my Hero…
    I took the whole mailalerts folder and smacked it over my existing folder.
    Now the Error is gone and my Shop Mailbox is recieving new orders again.

    😃 You are awesome



  • @yaniv14 said in Mail Alerts Module not working:

    grab the en mail folder from here:
    https://github.com/thirtybees/mailalerts/tree/master/mails

    Definitely this files should be included in next release, 1.0.3 also didn’t send emails, when I uploaded this folder, mails on new orders arrived



  • @mdekker Check your comment above.

    Just examined the piece of code that’s responsible: https://github.com/thirtybees/mailalerts/blob/6812b9fa7252a74afb3815cecdc85db79e7853c8/mailalerts.php#L680-L696
    It basically means that if there are no translations available and English is not active, it will not send a mail to prevent it from crashing. Do you have translated templates?
    


  • Not any overrides, just pure TB 1.0.3 Installation
    You have to make changes into code of that module, if there are no mail templates to currently installed languages, always to use the English templates, so such things to not happen again.

    [quote]
    It basically means that if there are no translations available and English is not active, it will not send a mail to prevent it from crashing.
    [/quote]

    Next release should check if there are translated templates in /mails/xx, and if is empty to fall back to English.


 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.