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](mailto:helpdesk@example.pl) Subject: =?UTF-8?Q?Re:=20test2=20[#173295]?= In-Reply-To: [0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl](mailto:0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl) References: [0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl](mailto:0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl) X-Mailer: =?UTF-8?Q?osTicket=20Mailer?= To: =?utf-8?Q?d?= [admin@example.pl](mailto: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](mailto:helpdesk@example.pl) Subject: Re: test [#173295] In-Reply-To: [0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl](mailto:0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl) References: [0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl](mailto:0f7e027e-7e12-c770-0ce3-fd1557b7b1b7@example.pl) X-Mailer: osTicket Mailer To: [admin@example.pl](mailto: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.
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.