Sets or gets if a POP3 or SMTP connection is secure or not.
The supported protocols are: SSL and TLS.
When using POP3 and the security property is enabled; the first try is to establish a SSL connection and then a TLS connection.
When using SMTP and the security property is enabled; the first try is to establish a TLS protocol; which can be IndirectTLS or DirectTLS. The program will try to connect via Indirect TLS otherwise it will try with a Direct TLS connection and the last option is to try with a SSL connection.
If a secure connection cannot be made an error is displayed.
0 |
Unsecure protocol is used. This is the default value. |
1 |
Secure protocol is used. |
Set protocol to be secure.
&smtpSession.Secure = 1
Extended Data Types: POP3Session Data Type , SMTPSession Data Type
Languages: .NET, Java, Ruby(up to and including GeneXus X Evolution 3)
POP3Session Data Type
SMTPSession Data Type