ErrDesc Property


Contains error description. This property is meaningful only if IsError=True.

Enable logging option on and check log file to get detailed error description.


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

Usage example:

Dim Mailer
'Using visual basic to create object
Set Mailer = CreateObject("MailBee.SMTP")
'Using ASP to create object
'Set Mailer = Server.CreateObject("MailBee.SMTP")
'In ASP use Response.Write instead of MsgBox
Mailer.EnableLogging = True
Mailer.LogFilePath = "C:\my_log.txt"
Mailer.ClearLog
Mailer.LicenseKey = "put your license key here"
Mailer.ServerName = "mailserver.com"
Mailer.Connect
If Not Mailer.IsError Then
  MsgBox "Connected successfully"
  Mailer.Disconnect
Else
  MsgBox Mailer.ErrDesc
End If

See Also:

IsError Property
EnableLogging Property
LogFilePath Property


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