freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
3.07k stars 503 forks source link

Mass Empty Mails send #2428

Closed bppushly closed 1 year ago

bppushly commented 1 year ago

We have futher problems with using freescount and exchange.

A customer just wrote me that he got an empty mail every two mintues, i went to logs and see this:

Screenshot: https://bit.ly/3VBmbwJ It is the same customer again and again. I censored the mailadress for privacy.

This is a desaster. How could this happend and what can we do to avoid it?

freescout-helpdesk commented 1 year ago

Check logs. Are you using any workflows?

bppushly commented 1 year ago

No workflows. Plugin not even installed.

The send mail error log shows nothing for today.

What could be special about this ticket is that it was in "all" mailbox and i assigned it to a agent.

freescout-helpdesk commented 1 year ago

Check Manage > Logs > App Logs

bppushly commented 1 year ago

I disconnected the exchange account now.

[2022-11-29 17:36:02] Fetching finished 1 [2022-11-29 17:36:02] Fetching UNREAD emails for the last 3 days.

But no logs for the time where all the mails have been sent

bppushly commented 1 year ago

Jut rechecked the sent mail logs, it started the massmailing at 11 in the morning and stopped at 16 when i clicked "disconnect" on exchange connection.

Also after i disconnected it received two new tickets that were made two hours ago and sent an autoreply. Then i removed the text entered in the imap fields etc and now it stopped and shows "deactivated".

bppushly commented 1 year ago

I think I got the problem.

Here is the error on server

[2022-11-29 12:32:22] production.ERROR: Could not save outgoing reply to the IMAP folder, IMAP folder not found: Gesendete Elemente - Error: Undefined offset: 1; File: /home/pushly/ticket/vendor/webklex/php-imap/src/Connection/Protocols/ImapProtocol.php (138)

I entered an "IMAP"-Folder for save sent mails and called it Gesendete Elemente.

But the strange thing is, why it did work for all other Mails, but not for this one?

freescout-helpdesk commented 1 year ago

Thanks for the info. We'll try to prevent such cases. But it's hard to tell why it worked for other outgoing emails.