Jump to content

[SOVLED] Mail alerts does not notify when stock becomes available


Recommended Posts

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

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

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 were
incorrectly constructed:"......

 

where is the problem? thank you! :)

Link to comment
Share on other sites

from email: "Mail Delivery System ([email protected]).

 

message copy:"A message that you sent contained one or more recipient addresses that were
incorrectly constructed:

  email*** <email***>: malformed address: <email***> may not follow email***

This address has been ignored. There were no other addresses in your
message, 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 available
Return-Path: <email***>
From: domain.com<email***>
Reply-To: domain.com <email***>
Date: Tue, 12 Nov 2013 01:14:24 +0100
X-LibVersion: 3.3.2
MIME-Version: 1.0
Content-Type: multipart/related;
 boundary="_=_swift-1706338996528172e0ef8d50.54234595_=_"
Content-Transfer-Encoding: 7bit
Message-ID: <20131112001424.937790309.swift@www.>

This is a message in multipart MIME format.  Your mail client should not
be displaying this. Consider upgrading your mail client to view this
message 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-8
Content-Transfer-Encoding: 8bit

__________________________________________________________

 

Any idea?

Edited by Luks123 (see edit history)
Link to comment
Share on other sites

  • 4 months later...

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

  • 6 months later...
  • 2 months later...
  • 7 months later...

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.tpl
and replacing all the "oos_customer_email" with "pr_mailalert_customer_oos"

 

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...