# How to delete errornous email notifications?

**URL:** <https://forum.xwiki.org/t/how-to-delete-errornous-email-notifications/8660>\
**Category:** Help / Discuss\
**Tags:** emailnotification\
**Created:** [April 28, 2021, 7:27am UTC](https://forum.xwiki.org/t/how-to-delete-errornous-email-notifications/8660 "2021-04-28T07:27:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![schnutz](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@schnutz](https://forum.xwiki.org/u/schnutz)\
**Post date:** [April 28, 2021, 7:27am UTC](https://forum.xwiki.org/t/how-to-delete-errornous-email-notifications/8660/1 "2021-04-28T07:27:08Z")

</div>

Hi,

we just started using notification emails, so i added the mailserver details on the admin page.  
There were a lot of errornous mails from earlier notifications, which couldn’t been sent due to the missing mailserver information, that’s ok.

But after an xwiki restart, ALL of the old email notifications are resent! I disabled the mailbox as a workaround, but is there a way to delete all the old mail notifications?  
On the mailsendstatus-adminpage, there are 74 pages x 15 entries, so ~1000 Mails pending.

Thanks,  
Gerd

---

<div class="post-metadata">

**Author:** ![schnutz](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@schnutz](https://forum.xwiki.org/u/schnutz)\
**Post date:** [April 28, 2021, 8:22am UTC](https://forum.xwiki.org/t/how-to-delete-errornous-email-notifications/8660/2 "2021-04-28T08:22:53Z")

</div>

ok solved, found a velocity script for deleting:

> **[XWiki](https://extensions.xwiki.org/xwiki/bin/view/Extension/Mail/MailSenderStorageAPI)**
>
> XWiki for sharing information

(just searched for notifications and similar, not for “mail storage”)
