@ordonezgs

Can you please edit your php.ini file and set mail.add_x_header to 0, restart the webserver (and PHP-FPM if you're running it), and retest the issue?

Cheers.

    KevinTheJedi
    We have applied the indicated configuration to the php.ini file, however, the error persists. It should be noted that we had to create the file since it did not even exist, so the only configuration in the file now is the one indicated in the file.

    We even deleted the cache but the emails still appear the same, the mail arrives incorrectly not in accordance with the RFC.

      ordonezgs

      Okay so from the headers it looks like you're using PHPMailer to send mail. Typically this is when you don't configure SMTP or SMTP is failing so it falls back to PHPMailer. Is there any way you can setup SMTP instead and see if the issue persists? I'm thinking this issue is isolated to PHPMailer which is why I can't replicate it (as I'm using SMTP).

      Cheers.

        KevinTheJedi
        After a few uses with the platform, I report the following. With the inclusion of the indicated file a bug occurred, to confirm it we will remove it and we will comment on new changes.

        The bug is the following, previously we only had the problem with the mails that go to the client in case of adding collaborators, but now, the error was extended to the mail in which the Staff is informed that a new ticket was opened, arriving encoded.

        KevinTheJedi
        Sure I will create the account on our mail server and then set up the SMTP config in order to try this mailing mode.
        Will comment any changes. Thanks for the following.

        Greetings.

        ordonezgs

        Awesome! I would like to know how you were previously sending mail as I tried using PHP mail and the emails still came through successfully. Once I can replicate the issue I can address it properly.

        Cheers.

          KevinTheJedi
          I'm not really sure, just as default. I guess that PHP handles the email thing at all.

          We are using a from address which is "Xx Xxxxxxxxx - Xxxxxx XXXX xx-xxxxxxxxx@example.com".
          We were using:
          OsTicketConfig/scp/emailsettings.php
          Mta by default: None: use php mail function.
          OsTicketConfig/scp/emails.php
          POP/IMAP: Disabled
          SMTP: Disabled
          Auto-response: disabled

          Write a Reply...