Dart.Mail Namespace > Smtp Class : AutoSize Property |
<DefaultValueAttribute()> Public Property AutoSize As Boolean
[DefaultValue()] public bool AutoSize {get; set;}
[DefaultValue()] public: __property bool get_AutoSize(); public: __property void set_AutoSize( bool value );
[DefaultValue()] public: property bool AutoSize { bool get(); void set ( bool value); }
The advent of MIME, which introduced the transfer of greater amounts of non-ASCII files, resulted in much larger data load for SMTP servers. The SIZE command was introduced as a way for a server to announce the maximum file size it would accept and for a client to announce the size of data it is about to send. When a client announces the size of the data, the server then has an opportunity to accept or reject the data. If the SMTP server supports the SIZE command, Smtp.AutoSize controls whether or not this announcement is made.
If sending mail using a server that supports the SIZE command, set this value to false if you wish to keep the client from announcing the size of the data that will be sent.
With version 4.3, this property reflects the value stored in SmtpSession.AutoSize.