wodSmtpServer ActiveX Control - BytesDownload Property
      
 

Description

Holds total number of bytes user downloaded in this session.


Property type

A Long value.  


Syntax

object.BytesDownload [= value]



The BytesDownload Property syntax has these parts:

Part Description
object An expression evaluating to an object of type SmtpUser.
value A Long value.

Remarks

From the time user connects to your server, up to time you're accessing this property, it will keep (and regularly increase) total number of bytes downloaded by connected user. This value can be used for some statistical or similar purposes.

You can reset this value to 0 at any time, or set it to any other value at any time. For instance, if you want to memory total downloaded bytes across all the sessions by the user, you should store this value to your database when user disconnects, and then take it back from database and put to this property when user logs in.

By its specification, SMTP protocol does not expect too many bytes to be downloaded by the user. Much more data will be received from user (message bodies).