freescout
freescout copied to clipboard
Use date from header for fetched emails
I just setup freescout for an existing shared mailbox. All old mails now have their receive date set to the time of when they were fetched. That is not only a problem on setup, but also e.g. if there's trouble fetching emails in the future and emails will be fetched later. I'd be great if the date would be taken from the actual received date in the email message (header).
This would be an awesome feature I see as a disadvantage with many ticket systems. Should probably be an option and not a hard-coded default though.
Use $thread->getMailDate() function to get the date from email headers.
https://github.com/freescout-helpdesk/freescout/pull/3297