Email cut off at -----


(Carlo Kok) #1

hi,

I’ve had a user mail-in an issue with a line like:

Exception:
------------------------------------------------------------------------------
  2.2 Address: 00000000
  2.5 Type   : EAccessViolation
  2.6 Message: Access violation at address 00000000. Read of address 00000000.

Problem is, it seems to see the ----- as a signature, and essentially throwing away everything after that. Is there any way to work around that?


(Gerhard Schlager) #2

It’s basically the bug mentioned in Punctuation on a line causing stripping in plaintext mail

I think we can make the regex for signature detection a lot stricter, now that we default to using HTML emails. What do you think @zogstrip?


(Carlo Kok) #3

To be clear, this was a html mail. I can provide the full mail (in private though) if needed.


(Gerhard Schlager) #4

Yeah, the same regex is used for plain text and HTML…