Same mail is send each time I restart tomcat (xwiki 9.11.4)

Hello,

Each time I restart my server an old mail is send at multiple users.
I think I can see the mail in XWikiPreferences - mails - mails status.
The email status is “prepare_success” but there are others mails with “prepare_success” who are not sent.
Maybe I must empty this list?
How can I purge all mails in “standby” ?

(email xwiki setting is a smtp server)

Thxs.

Pascal B

Hi,
I empty mailsender_events tables to fix my issue.

Edited to add: I think I must delete /MyXwikiData/mails/ subdirectory too

Pascal B