Hi
I have built a simple order tracking app and I want to send email notification to the users every time the status is changed. The problem is that I have multiple status for the orders.
Here is a sample of my table records. As you can see, I have "Placed" ,"Picked up" , and "Delivered" status. I have a couple more but the idea is that for each of these status, I want a different email message or content sent to the email address of the user.
Currently, I am only using acknowledgement emails so the users will receive an email upon placing an order. Is there a way to do this? Thanks in advance.
~Hexy