I am trying to send an email notification to a specific email address. I have a MySQL database in which I hold a product table. Product ID, ProductDescription and ProductQuantity.
When the Quantity reaches "0" I want to send an automatic email saying that ProductID is out of stock.
Do you have any idea of how I can write that in php?