Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

Email formatting error #41

Description

@mateusztylec

I created docker container and setup SMTP properly. I send some emails for testing and there is the result.

Source of email send by osticket looks like that :

From: =?utf-8?Q?[Example]=20Customer=20service?= helpdesk@example.pl
Subject: =?UTF-8?Q?Re:=20test2=20[#173295]?=
In-Reply-To: 0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl
References: 0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl
X-Mailer: =?UTF-8?Q?osTicket=20Mailer?=
To: =?utf-8?Q?d?= admin@example.pl

Google and other mark that email as potential spam because it shows that "From" is wrongly formatted. I would expect something like that:

From: [Example] Customer service helpdesk@example.pl
Subject: Re: test [#173295]
In-Reply-To: 0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl
References: 0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl
X-Mailer: osTicket Mailer
To: admin@example.pl

I don't know nothing abount php so can't figure out where is the problem but it must be something with utf8 encoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions