I have created a function in the index page > page_load, where the customer receives a reminder email about their appointment, but what is happening now is that every time someone (customer or employee) opens the website, the customer receives a reminder email. How can I ensure that the customer only receives a reminder email on the scheduled appointment date?
Make sure that you have checked the appointment date correctly before sending the reminder email. You can post your codes for discussion.
I have already fix it, thx for the replay.