*

philoo

  • **
  • 9 posts
Mail format issue ?
« on: January 10, 2022, 05:46:27 PM »
All the email sent by OsClass have formatting problem
They have HTML tags but they are as text in the message body ... As if they hadn't been interpreted
Header issue ?
Note that I run PHP 8.0

*

MB Themes

Re: Mail format issue ?
« Reply #1 on: January 10, 2022, 09:15:21 PM »
This looks like your mail server sends HTML as text.
Or your client blocks html rendering?
Try to reconfigure it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

philoo

  • **
  • 9 posts
Re: Mail format issue ?
« Reply #2 on: January 11, 2022, 11:09:14 AM »
May be a problem with PHP 8 ?
https://github.com/joomla/joomla-cms/issues/32830 "PHPMailer creates wrong mail headers with PHP 8"
very similar issue

*

MB Themes

Re: Mail format issue ?
« Reply #3 on: January 11, 2022, 03:39:13 PM »
@philoo
Maybe, you are first one complaining, for me it worked OK.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

philoo

  • **
  • 9 posts
Re: Mail format issue ?
« Reply #4 on: January 11, 2022, 04:21:58 PM »
With PHP 8 ??

*

MB Themes

Re: Mail format issue ?
« Reply #5 on: January 11, 2022, 04:33:56 PM »
@philoo
Many people already use PHP 8.0, it was supported from Osclass 4.3 released in January 2021.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

philoo

  • **
  • 9 posts
Re: Mail format issue ?
« Reply #6 on: January 11, 2022, 04:39:48 PM »
Will check with server SysOp ....
Thank you

*

umimo

  • ***
  • 50 posts
Re: Mail format issue ?
« Reply #7 on: March 27, 2022, 01:11:20 PM »
Same issue

PHP 8.1 sending html format

PHP 7 working correctly

*

MB Themes

Re: Mail format issue ?
« Reply #8 on: March 29, 2022, 08:06:19 AM »
Osclass does not support PHP 8.1, libraries have dependencies and if we want to keep wide range for php versions supporting osclass, we need to wait a bit with 8.1.
Osclass sends HTML format.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 50 posts
Re: Mail format issue ?
« Reply #9 on: March 29, 2022, 09:32:13 AM »
Osclass does not support PHP 8.1, libraries have dependencies and if we want to keep wide range for php versions supporting osclass, we need to wait a bit with 8.1.
Osclass sends HTML format.

Change PHP version 8.1  to 8

same result

<p>Hi {CONTACT_NAME}!</p>
<p>{USER_NAME} ({USER_PHONE}) left you a message about your item {ITEM_TITLE}:</p>
<p>{COMMENT}</p>
<p>Regards,</p>
<p>{WEB_TITLE}</p>

*

MB Themes

Re: Mail format issue ?
« Reply #10 on: March 29, 2022, 01:41:34 PM »
It's ok, only problem is that you are having HTML as text, but do not think this can be configured in Osclass at all.
Osclass send mail as HTML format, not plain text. What does your mail server or PHP mailer class with it is different question.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 50 posts
Re: Mail format issue ?
« Reply #11 on: March 30, 2022, 12:45:10 PM »
It's ok, only problem is that you are having HTML as text, but do not think this can be configured in Osclass at all.
Osclass send mail as HTML format, not plain text. What does your mail server or PHP mailer class with it is different question.

i don't understand   :( :( :(

*

MB Themes

Re: Mail format issue ?
« Reply #12 on: March 30, 2022, 03:15:03 PM »
Try to use different mail server. I am not able to reproduce anything like that.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Jhom Gain

  • **
  • 8 posts
Re: Mail format issue ?
« Reply #13 on: April 19, 2022, 10:44:32 AM »
I got the same error when I was using GoDaddy hosting. Also, GoDaddy doesn't let you send the mail from another SMTP server. They force you to use their own Relay server to send the mail. I recently switch to Hostinger, mail is now sent in HTML format. Also, there is no restriction on sending mail through SMTP.

*

MB Themes

Re: Mail format issue ?
« Reply #14 on: April 19, 2022, 03:58:07 PM »
@Jhom
Thanks for your feedback!
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots