Announcement

Collapse
No announcement yet.

Dynamically shorten a phrase

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Dynamically shorten a phrase

    Here's my problem...

    It was reported to me that notification emails sent to outlook.com (former hotmail.com) appeared as giberrish in the inbox.
    The issue looks to appear only on outlook.com. I manager to trace it down the email encoding (UTF-8) and the length of the subject.
    In brief, if the subject of any email sent from our forum exceeds 48 characters outlook.com does something with the subject line and everything gets screwed.

    This mainly causes issues with the thread subscriptions email where the subject of the email can get long due to the thread title that's included.

    Is there any chance that I can use something like the following in a phrase so that I can set the maximum length of the subject?
    Code:
    fetch_trimmed_title($threadtitle, 10, TRUE)

Related Topics

Collapse

Working...
X