See Also: SmtpPermissionAttribute Members
The System.Net.Mail.SmtpPermission and System.Net.Mail.SmtpPermissionAttribute classes control access to SMTP host computers. The System.Net.Mail.SmtpClient class demands an System.Net.Mail.SmtpPermission when sending electronic mail to the SMTP host for delivery.
The System.Net.Mail.SmtpAccess enumeration specifies the level of access controlled by an instance of this permission.