SSL Property
Specifies the SSL
object that will be used for managing secure SSL/TLS connections.
If SSL.Enabled is True, then IMAP4 object will operate in secure mode through
SSL/TLS connection.
Note: Many mail servers do not support secure connections.
Value Type: | MailBee.SSL | |
Parameters: | None |
Usage example:
Dim Mailer, Envelopes, Envelope 'Using visual basic to create object Set Mailer = CreateObject("MailBee.IMAP4") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.IMAP4") 'In ASP use Response.Write instead of MsgBox Mailer.EnableLogging = True Mailer.LogFilePath = "C:\Temp\imap4_log.txt" Mailer.ClearLog Mailer.LicenseKey = "put your license key here" ' Set SSL connection over dedicated port Mailer.SSL.Enabled = True Mailer.PortNumber = 993 Mailer.ServerName = "mail.server.com" Mailer.UserName = "username" Mailer.Pasword = "password" If Mailer.Connect Then If Mailer.SelectMailbox("Inbox") Then Set Envelopes = Mailer.RetrieveEnvelopes For Each Envelope In Envelopes MsgBox Envelope.Subject Next End If Mailer.Disconnect Else MsgBox Mailer.ErrDesc End If
See Also:
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.