Official Content

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.

Values

0 Unsecure protocol is used. This is the default value.
1 Secure protocol is used.

 

Example

Set protocol to be secure.

&smtpSession.Secure = 1

Scope

Extended Data Types: POP3Session Data Type , SMTPSession Data Type
Languages: .NET, Java, Ruby(up to and including GeneXus X Evolution 3)

See Also

POP3Session Data Type
SMTPSession Data Type





Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant