Question

Is there a way around the 255 character limit?

  • 18 April 2023
  • 1 reply
  • 15 views

Badge

Hi, we have a process that takes an email with an .xml attachment (generated from a pdf form) and processes the data to SQL. We have an email inbox watch setup to catch any emails that come through. What happens though, is it concatenated the email subject, the xml file name ans the directory path on the server together. But if this all goes over the 255 character limit, the process fails. We have found that some users are adding extra information in the email subject ans this is sometimes taking it over the limit. Is there a way to truncate the email subject before it hits the server and stop it from failing to process?


1 reply

Userlevel 3
Badge +26

You can use a SubstringExtractor to return a substring of the email subject.

Reply