phpsymfonyemailhyperlinkconfirmation-email

Symfony: Send email automatically every 7 days during one month


I need your help on my current project with Symfony... When you click in a button, the function must send an email to other user with a link confirmation. This email must be send every seven days during one month. How can I create a confirmation link? How can I do the part of sending emails?

Thank you very much for your help :)


Solution

  • For the sending the emails part you can create a cron-job that runs every 7 days to call a command which sends the emails.

    You can check here how to send emails and here how to create a command.

    You can check this to see how to create a cron-job.