I am wondering if there is a solution to this ? Or were you able to reproduce this issue at your end or is it just me ?
Thanks
Okay so problem for sure arises when we have PHP 8 on. It works absolutely fine on PHP 7.4. Also confirming I have fresh installation of Drupal 9, no extra modules or custom code. Dropping PHP version down to 7.4 makes it work but we cannot do it on the production environment because of other dependencies that require PHP 8.1.
Okay. I have attached the file now with full headers. This time the HTML tags as you might see in the file are being replaced.
Thanks for your help.
Thanks for your prompt response. Here the text that I am getting in the email. The problem is that it is coming as plain text and is not being transformed.
From:
Date: Fri, 14 Apr 2023 at 9:35 pm
Subject:
To:
This is a multi-part message in MIME format.
--e23b57a52ff21eb45e3b52db9d85f3879b14601f1
Content-Type: multipart/alternative;
boundary="2114a266cb966f31838b5a95c6794c87861e8f760"
Content-Transfer-Encoding: 8bit
--2114a266cb966f31838b5a95c6794c87861e8f760
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
cedcedc
--2114a266cb966f31838b5a95c6794c87861e8f760
Content-Type: text/html; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8Bit
Mime Mail Example message template
--2114a266cb966f31838b5a95c6794c87861e8f760--
--e23b57a52ff21eb45e3b52db9d85f3879b14601f1--
sufian@vivacityhealth.com.au → created an issue.