Issue with Email Encoding in IMAP 'Store Sent Emails'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jacao
    Member
    • Mar 2024
    • 33

    #1

    Issue with Email Encoding in IMAP 'Store Sent Emails'

    Hi,

    Tested on a clean version 9.1.2 of Espo + Advanced Pack 3.9.0 + patch of Sender.php (email sender: reply-to after addresses · espocrm/espocrm@07a09dd · GitHub)

    There is an issue with the sent message copies saved on the server. It concerns the group account option, IMAP tab – Store Sent Emails:

    Click image for larger version

Name:	image.png
Views:	19
Size:	38.8 KB
ID:	117883

    After sending from Espo, the message appears correctly to the recipient. The problem concerns the copies of the messages saved on the server – both in plain text and HTML formats. It looks like a part of Header goes to the Body of e-mail.

    Looks like a part of Header goes to Body of this email...


    HTML:

    Click image for larger version

Name:	image.png
Views:	14
Size:	30.5 KB
ID:	117884

    Plain:

    Click image for larger version

Name:	image.png
Views:	14
Size:	20.2 KB
ID:	117885
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8954

    #2
    Could not reproduce with Outlook.com. Any help with a fix appreciated.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • jacao
      Member
      • Mar 2024
      • 33

      #3
      I can confirm that this issue does not occur with an O365 account, but those mailboxes are connected differently – through your Outlook Integration extension.

      While we're on the topic, I noticed some time ago that for Microsoft accounts, the "Store Sent Emails" option is not required. Interestingly, if you enable this option, sent emails get duplicated (saved twice). If you specify a different folder than Sent, the second copy of the sent message will be saved in that folder (one in Sent Items and one in the designated folder).

      With regular IMAP accounts, the issue appeared in the latest version of EspoCRM. Our Zimbra server does not save sent messages at all, and a test account on an external hosting provider displays the messages as shown at the beginning.

      As I mentioned, the issue only affects copies of sent messages that are supposed to remain on the server (the recipient receives the message correctly). It’s also not a hosting issue – for testing purposes, both the sending and receiving accounts are on the same server and domain.
      Last edited by jacao; Today, 08:35 PM.

      Comment

      Working...