Hi,
I've recently rescued an old Moodle instance, upgrading it from version 3.8 until the latest one. Everything went fine, thanks to the comprehensive documentation.
This instance stand for a long time without a working cronjob. Thus, users were created and welcome emails were not sent. After the server cron was fixed, it started trying to send emails, but the SMTP server was not configured. And now the logstore_standard_log table is exploding, because sending emails are failing to be send. It generates both \core\event\user_password_updated and email_failed errors.
However, these emails are meaningless now, because they refer to very old actions. Now I'm locked: I cannot fix the SMTP server, because I don't want the emails to be send.
How can I clear the old email queue so that I can fix the SMTP server and avoid sending meaningless emails?
best,
alan