Skip to content

Outgoing emails corrupt / garbled #1670

@DavidAnderson684

Description

@DavidAnderson684

We're running a test install (Freescout 1.7.30, PHP 8.0.15). Outgoing mails from Freescout (both customer replies, and other system emails, e.g. user invite email) are corrupt, resulting in being wrongly displayed in a variety of email clients.

Here is the raw source of a mail sent by Freescout (a reply to a test customer), as shown by Thunderbird's "Show source" feature:
test.txt

You will notice that some of the headers have unwanted preceding spaces, causing them to be treated as part of the preceding header and effectively ignored.

The same corruption is seen in the headers when the mail is collected instead in Alpine, and in Roundcube webmail, so is clearly occurring at source (i.e. not introduced by the email user agent).

The mailserver (Exim, latest version) handles outgoing email for a over 200 other hosted websites, without any similar issues seen

The top of the mail in Thunderbird looks much like you might expect, given that the headers don't correctly set up the MIME encoding:

Screenshot_20220124_162343

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions