Jump to content

Character limit on email subject line


Paul Alexander
 Share

Recommended Posts

Hi @Deen

Thanks for that...the reason I'm asking is that SOME emails sent from Hornbill seem to have the subject line truncated (not all of them) - 

At the moment I can't see a pattern to it.

Different emails from the same request (one an update, the other a resolution, so they're slightly different template) seem to behave differently.

For instance, this email template SHOULD say (and DOES say in the template) 'has been updated' but is truncated:

 

image.png.2dacc81aaf4b683f588583cfd023d247.png

 

Whereas this template has a summary of 'has been completed' (which has MORE characters) is NOT truncated:

 

image.png.6ceee475d18f19a1d8e83020eceb9dd0.png

 

I can't see why this is happening....any ideas please?

 

 

Link to comment
Share on other sites

@Paul Alexander

The answer is a little more complicated than that.  The subject field is stored (as is all of our data) in UTF-8 so the maximum allowed length of text (that you see on a screen) may well be less than that number, it actually depends on what the text is. 

cat - will store three bytes into the 512 byte field, where as 学中文 will store 9 characters into the 512 byte field. 

Gerry

Link to comment
Share on other sites

@Paul Alexander

Those screens are showing the emails in Outlook?  If you go to the sent items in the Hornbill mailbox where those messages originated, and look at the same messages in the sent items folder - is the subject truncated in there? That will tell you where the problem is, it could be the mail server/email transport, or it could be something weird in the email template expansion on Hornbill. Whats in the sent items folder will tell us which.

Gerry

Link to comment
Share on other sites

@Paul Alexander

So I am pretty much 100% (well I need to check something) that delivery of the message on our side will not truncate the subject field, so I assume it has to be on the receiving side.   What is odd is, neither email subject seems excessively long to me... its a bit strange. 

Gerry

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...