*

morfik

  • ****
  • 169 posts
Title lenght in email templates
« on: February 15, 2023, 09:30:26 AM »
Looks like the length of the email title in the email templates is too short. It crops the title without any message. Can the length be increased?
« Last Edit: February 15, 2023, 10:24:56 AM by morfik »

*

MB Themes

Re: Title lenght in email templates
« Reply #1 on: February 15, 2023, 10:32:54 AM »
It's stored in t_pages_description table.
Current length is VARCHAR(255) that sounds to be much more than required ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

morfik

  • ****
  • 169 posts
Re: Title lenght in email templates
« Reply #2 on: February 15, 2023, 11:08:05 AM »
No it's definitely not 255 chars. In my case it was cut off after 70.

*

MB Themes

Re: Title lenght in email templates
« Reply #3 on: February 15, 2023, 11:39:13 AM »
It is 255. You can check in your database. If you use special characters, they may occupy more space.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

morfik

  • ****
  • 169 posts
Re: Title lenght in email templates
« Reply #4 on: February 15, 2023, 12:11:14 PM »
It is 255. You can check in your database. If you use special characters, they may occupy more space.

What about spaces? The title was cut off after a space  after 70 chars.

*

morfik

  • ****
  • 169 posts
Re: Title lenght in email templates
« Reply #5 on: February 15, 2023, 01:56:34 PM »
I think the difference is between what's stored in the database for the template title and what's actually sent via email.

So for instance:

{WEB_TITLE} - Edit options for the listing {ITEM_TITLE}
is within the 255 char limit, but when resolved title is put in the email title before sending, it's cut off after 70 char because it exceeds the 70 char limit, which is probably hardcoded somewhere.
« Last Edit: February 15, 2023, 02:01:51 PM by morfik »

*

MB Themes

Re: Title lenght in email templates
« Reply #6 on: February 15, 2023, 03:25:41 PM »
Maybe your mail server limit that.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

morfik

  • ****
  • 169 posts
Re: Title lenght in email templates
« Reply #7 on: February 15, 2023, 03:45:47 PM »
Maybe your mail server limit that.

It would be weird to limit title to 70 chars in mail server. But I have to check this with my email provider.