IsError Property

True if last called MailBee.IMAP4 method completed with errors. Use ErrDesc, ServerStatusResponse or ErrCode properties to get extended error information.

Also, enable logging on and check log file to get detailed error description.

Value Type: Boolean
Parameters: None 
Remarks: This property is read-only

Usage example:

Dim Mailer
'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:\my_log.txt"
Mailer.LicenseKey = "put your license key here"
Mailer.ServerName = ""
Mailer.UserName = "MyName"
Mailer.Password = "Wrong password"
If Not Mailer.IsError Then
  MsgBox "Connected successfully"
  MsgBox Mailer.ErrDesc
End If

See Also:

ErrDesc Property
ErrCode Property
ServerStatusResponse Property

EnableLogging Property
LogFilePath Property

Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.