View Issue Details

IDProjectCategoryView StatusLast Update
0024606Plugin - EmailReportingGeneralpublic2026-10-21 13:33
ReporterMarnix Assigned ToSL-Gundam  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.10.1 
Summary0024606: Email won't delete from server using imap with Outlook 365
Description

Using Outlook 365 as my mailbox to collect mails from.
Using IMAP because POP3 gives an error message.
Using subfolders for collecting mails from.

When mails are collected by Mantis the are marked as 'read' in Outlook 365, but mails are not being deleted.

Consequense is that my mailbox is running full of mails and the scripts fails working after a few days.
(getting about 100 emails a day)

TagsNo tags attached.

Activities

SL-Gundam

SL-Gundam

2018-07-12 12:03

manager   ~0060258

What does this setting say?
https://www.mantisbt.org/wiki/doku.php/mantisbt:plugins:emailreporting#mail_delete

Is this Office365 business or personal?

SL-Gundam

SL-Gundam

2018-07-12 12:23

manager   ~0060259

I performed a test against Hotmail/Outlook and IMAP seems to work just fine. Of course it might be possible Microsoft still has these as separate systems. Will try my Office365 business account soon

Marnix

Marnix

2018-07-21 16:30

reporter   ~0060294

Setting is 'YES'
And it is an Office 365 Business account.

SL-Gundam

SL-Gundam

2026-10-21 13:33

manager   ~0071519

This might be related to the expunge issue we discovered in EmailReporting 0.13.0.

The issue
Net_IMAP allowed to expunge (permanently delete emails marked for deletion) on disconnect. It was assumed that this would expunge all deleted emails from all folders. This is not the case. It only expunges the current folder. So if you used "Create project subfolder structure" it would only expunge the last folder EmailReporting accessed.

https://github.com/mantisbt-plugins/EmailReporting/commit/2220a060469a40e84ad689ef51192a731808799b