im_UseSSL

Connect to IMAP Server by using an SSL encrypted channel

Member of namespace

Imail

Syntax

bool im_UseSSL(bool bUseSSL)

Parameters

bUseSSL
Type: bool
A boolean value that enables or disables SSL communication.

Parameters

True: Use SSL to encrypt communication with the mail server.

False: Communicate with the email server without encryption, which is the default method if im_UseSSL is not called.

Returns

Always True.

Level

Batch level.

Details

When SSL is enabled, subsequent im_login and im_scan actions communicate with the email server over IMAPS protocol by using SSL encryption on port 993. When SSL is not in use, these actions communicate with the email server over IMAP protocol on port 143.