Comments (5)
Here is the place to debug: https://github.com/freescout-helpdesk/freescout/blob/dist/app/Console/Commands/FetchEmails.php#L395
https://github.com/freescout-helpdesk/freescout/wiki/Debugging
from freescout.
Hi! I can add some more information :)
The point is that FreeScout, as we can see in the code, tries to get the $prev_message_id
from the In-Reply-To
header, and if this is not set, it goes to the get the fist not empty reference in the References
header.
But some providers as SendGrid alter a little these headers. If I reply to an email using SendGrid, it adds an strange special new ID in the stack, for example:
References: <[email protected]>
<171558990309.560360.10539124495512892944.tinycrm-236945@erp-ti>
In-Reply-To: <171558990309.560360.10539124495512892944.tinycrm-236945@erp-ti>
Message-ID: <th6C7XtDSaC0rz1nlrXICA@geopod-ismtpd-2>
Here, the message ID is added by SendGrid, the In-Reply-To is the original ID from the sender and the "real" In-Reply-To is the first reference.
This work with HelpScout, so I assume that them checks for the IDs of the mail in all the references to join the conversation, but FreeScout just try the "In-Reply-To" if it it's set (if I'm understanding correctly the code)
So maybe this issue is a little more complex?
from freescout.
You can send an email as EML file to [email protected] - we'll take a look.
from freescout.
Try with the attached /app/Console/Commands/FetchEmails.php file.
from freescout.
I tried it :)
This solution only works for the first reply, and it's dangerous: a lot of times the In-Reply-To ID is also on the references (not only in the SendGrid case), and it can generate unexpected behaviour.
So thinking about it and doing some testing, I think the best solution is to iterate all the possibilities of reply IDs and using the first we found in our freescout threads, following the order: In-Reply-To, References (by order), special FS marker. In most cases it will work as always (getting the In-Reply-To at the first attempt), but if not, it will try the other possibilites.
I will make a PR with the code that is working correctly now in our server, let's see if I don't miss anything and it works for you :)
from freescout.
Related Issues (20)
- Single issue triggers error. HOT 2
- Indication of the status of outgoing emails to non-admin users HOT 3
- There is a problem when installing an update to the Freescout system: messages stop being sent to telegram and whatsapp, what should I do? HOT 2
- Multiple query execution while searching particular term within search-box HOT 1
- Freescout - 3CX integration HOT 1
- Receive emails without SMTP or POP3 HOT 1
- Is there a way to set a custom header to a custom field? HOT 1
- Workflow Module: Body Customer Message Contains Condition not Matching HOT 3
- Question: Plan for SMTP when Google Workspace removes "allow less secure apps" HOT 1
- Adding Time Log Entry for day that has passed? HOT 1
- Workflow Module with Action "Move to mailbox" is not working HOT 12
- Wallboards Module: Editing permissions for wallboards not working HOT 3
- Reports Module: Productivity Reports - Inconsistencies between Closed Issues and Resolution Time HOT 3
- iOS app forgets which url to use HOT 1
- Add old conversation context to `conversation.state_changed` event HOT 2
- Unable to Send Emails and Auto-Reply Not Working in FreeScout HOT 5
- Add Max File Upload Size restriction to Chat Module HOT 1
- How do I turn off email notifications completely? HOT 4
- Call to a member function getFirstName() on null HOT 1
- Variables from Saved Replies are gone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freescout.