MessageSize Property

The size in bytes of the current message.

Syntax

public int MessageSize { get; }
Public ReadOnly Property MessageSize As Integer

Default Value

0

Remarks

This property contains the size in bytes of the current message. If the component is not connected, or MessageNumber does not contain a valid message number, the value of this property is 0. Otherwise, it contains the size of the mail message (including headers) as reported by the server.

The MailServer is asked about the size of the message only if the MessageNumber property has changed. If MessageNumber has not changed, the component returns a cached value.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]