Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rockyruther's avatar

Send scheduled emails based on date of entry

Hello, how can I implement this kind of approach. My scenario's like this. I have a feedback form for customers after they fill it out an email will be sent to them stating their concern will be processed immediately and after 3 days I wanted to send an email that will redirect them to the survey form to know the response time or actions being made by our Customer Support. Any idea? Thank you.

0 likes
2 replies
Demers94's avatar

You can run a CRON job (I think Laravel call these Jobs, I've never actually worked with them) everyday, and fetch all the entries in the database that are exactly three days old, and send an email to that address.

The exact query will depend on how your tables are setup and how you keep track of the feedback you get.

rockyruther's avatar

Thank you @Demers94 for the response. Yes, I've read about the command thingy it's just that I can't understand a single thing about it. To be honest, I am not knowledgeable yet when it comes to cron job.

Please or to participate in this conversation.