I have a mysql table with 3 columns:
- email_address
- email_message
- message_status
I need to create an application that keeps track of this table and whenever a message is inserted into the table with a message status of 0
, the application should send the email message and update the message status to 1
.