LogFilePath Property


Path to the log file.

LogFilePath is meaningful only if EnableLogging property is set to True.

Default value is "smtp_log.txt"


Value Type: String
Parameters: None 

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"
If Mailer.Licensed Then
  MsgBox "SMTP 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.