SmtpPermission
Controls access to Simple Mail Transport Protocol (SMTP) servers.
Gets the level of access to SMTP servers controlled by the permission.
Initializes a new instance of the SmtpPermission class with the specified state.
Initializes a new instance of the SmtpPermission class using the specified access level.
Initializes a new instance of the SmtpPermission class using the specified permission state value.
Adds the specified access level value to the permission.
Returns a value indicating whether the current permission is unrestricted.