Oliver Blanco Lozano
Oliver Blanco Lozano

Reputation: 21

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 :)

Upvotes: 1

Views: 2286

Answers (1)

Alex
Alex

Reputation: 433

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.

Upvotes: 3

Related Questions