The System.Net.Mail.SmtpAccess enumeration is used by the System.Net.Mail.SmtpPermission and System.Net.Mail.SmtpPermissionAttribute classes to specify a level of access to an SMTP host computer. The System.Net.Mail.SmtpClient class demands an System.Net.Mail.SmtpPermission when sending electronic mail to the SMTP host for delivery.
Member Name | Description |
---|---|
Connect |
Connection to an SMTP host on the default port (port 25). |
ConnectToUnrestrictedPort |
Connection to an SMTP host on any port. |
None |
No access to an SMTP host. |