Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get size of TIdMessage without first saving to TStream
#1
Hello,

We all know we can get the size of a TidMessage instance by first saving it to a TMemoryStream and read TMemoryStream.Size to get the size of the email message in bytes, but this doesn't sound performance-friend.

Is there an alternative way to get the size of a Tidmessage object?

Thanks.
Reply


Messages In This Thread
Get size of TIdMessage without first saving to TStream - by edwinyzh - 11-13-2018, 03:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)