H4818 Posted November 7, 2013 Share Posted November 7, 2013 Hi The mail alerts module doesn't send a notification to the customer when stock becomes available. If a customer leaves his email address on the "notify me when available" textbox - and I change the quantity of stock available - a notification is not sent to the customer. I am using the following: -prestashop v1.5.6 -mailalerts v2.5 -advanced stock management: no I have also checked the following: -Sent a test email from Advanced Parameters -> Email and received it successfully. -Email address is stored in the 'ps_mailalert_customer_oos' table (confirmed) Is there anything I am missing? Habib Ayob Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2013 Share Posted November 7, 2013 what mail method you use? simple mail() function or SMTP ? can you test this feature with different mail methods? Link to comment Share on other sites More sharing options...
H4818 Posted November 7, 2013 Author Share Posted November 7, 2013 (edited) Hi Vekia, thanks for the response I was using SMTP, and I've just tested it with the simple mail() function as well - I still haven't received a notification that the product is in stock. Any idea what else I might check? Edited November 7, 2013 by H4818 (see edit history) Link to comment Share on other sites More sharing options...
H4818 Posted November 7, 2013 Author Share Posted November 7, 2013 OK Somehow it seems to have started working. After a few tests I started receiving mails once again - I'm no sure how or why. It seems that the email configuration change had done something. Basically switched to php mail and back to smtp, and all is well. Thanks Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2013 Share Posted November 7, 2013 thank you for confirmation that everything works well now im going to mark this topic as [solved] best regards, Milos Link to comment Share on other sites More sharing options...
Luks123 Posted November 12, 2013 Share Posted November 12, 2013 I also have this problem. In a products, i write an email for back in stock. This works perfect. But, then administrator update products (back in stock), then only he get the email, with this message: subject: Mail failure - malformed recipient address "A message that you sent contained one or more recipient addresses that wereincorrectly constructed:"...... where is the problem? thank you! Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 have you got possibility to check header of message? Link to comment Share on other sites More sharing options...
Luks123 Posted November 12, 2013 Share Posted November 12, 2013 (edited) from email: "Mail Delivery System ([email protected]). message copy:"A message that you sent contained one or more recipient addresses that wereincorrectly constructed: email*** <email***>: malformed address: <email***> may not follow email***This address has been ignored. There were no other addresses in yourmessage, and so no attempt at delivery was possible.------ This is a copy of your message, including all the headers. ------To: email*** <email***>Subject: [www.domain.com] Product availableReturn-Path: <email***>From: domain.com<email***>Reply-To: domain.com <email***>Date: Tue, 12 Nov 2013 01:14:24 +0100X-LibVersion: 3.3.2MIME-Version: 1.0Content-Type: multipart/related; boundary="_=_swift-1706338996528172e0ef8d50.54234595_=_"Content-Transfer-Encoding: 7bitMessage-ID: <20131112001424.937790309.swift@www.>This is a message in multipart MIME format. Your mail client should notbe displaying this. Consider upgrading your mail client to view thismessage correctly.--_=_swift-1706338996528172e0ef8d50.54234595_=_Content-Type: multipart/alternative; boundary="_=_swift-128553528172e0ef9776.39311384_=_"Content-Transfer-Encoding: 7bit--_=_swift-128553528172e0ef9776.39311384_=_Content-Type: text/plain; charset=utf-8Content-Transfer-Encoding: 8bit __________________________________________________________ Any idea? Edited November 12, 2013 by Luks123 (see edit history) Link to comment Share on other sites More sharing options...
kenkomuri Posted March 19, 2014 Share Posted March 19, 2014 I have the same issue. I registered my email in the notification of a product, then update the quantity and saved and no email is send to my email address. My customers complain about that. I am using SMTP but PHP is also not working. I have changed between PHP and SMTP and its not working also. Link to comment Share on other sites More sharing options...
gerstavros Posted September 24, 2014 Share Posted September 24, 2014 Same problem at new 1.6 installation. Link to comment Share on other sites More sharing options...
gerstavros Posted September 24, 2014 Share Posted September 24, 2014 (edited) In my case, nothing was saved in pr_mailalert_customer_oos. I have latest version of prestashop.I fixed by editing the modules/mailalerts/views/templates/hook/product.tpland replacing all the "oos_customer_email" with "pr_mailalert_customer_oos" And now works fine. Edited September 24, 2014 by gerstavros (see edit history) 1 Link to comment Share on other sites More sharing options...
Totti Posted November 29, 2014 Share Posted November 29, 2014 But I have noticed that on some products work and others do not. Link to comment Share on other sites More sharing options...
prstshp_joe Posted July 7, 2015 Share Posted July 7, 2015 Thank you very much gerstavros! It's working now! Anyone knows how to trigger this mailalert if I update the available stock directly on database and not through backoffice? Thanks! I fixed by editing the modules/mailalerts/views/templates/hook/product.tpland replacing all the "oos_customer_email" with "pr_mailalert_customer_oos" 1 Link to comment Share on other sites More sharing options...
Recommended Posts