SMTPPermission
An SMTPPermission setting is required for the MailSession object log on function in .NET targets.
MailSession object function | Permission required |
---|---|
MailLogon | Connect (if using default port) or ConnectToUnrestrictedPort |
Example 1
This permission setting allows a Windows Forms application to log onto a mail session and receive mail through a default port:
1 2 3 4 |
<IPermission class="System.Net.Mail.SmtpPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Access="Connect"/> |
Parent topic: Custom Permission Settings
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments