LogFilePath Property


The path to the log file. LogFilePath is meaningful only if EnableLogging property is set to True.

Default value is "imap4_log.txt"


Value Type: String
Parameters: None 

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.ClearLog
Mailer.LicenseKey = "put your license key here"
If Mailer.Licensed Then
  MsgBox "IMAP4 object is ready for use"
Else
  MsgBox Mailer.ErrDesc
End If

See Also:

ClearLog Method
EnableLogging Property


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