Note: This enumeration is new in the .NET Framework version 2.0.
Specifies the level of access allowed to a Simple Mail Transport Protocol (SMTP) server.
Namespace: System.Net.Mail Assembly: System (in system.dll)
The SmtpAccess enumeration is used by the SmtpPermission and SmtpPermissionAttribute classes to specify a level of access to an SMTP host computer. The SmtpClient class demands an SmtpPermission when sending electronic mail to the SMTP host for delivery.