How to send one email if item in stock, and a different email if item out of stock?
I have set up an email to send to site owner from a Request more information form which works fine. I would like to send a different email message to site owner based on whether or not a variable exists in the database (item in-stock or out-of-stock). So, it would send email #1 if in-stock, and send email #2 if out-of-stock. Can someone explain to me how to accomplish this?