ClientRequest Property
Returns last command string sent to the IMAP4
server by MailBee.
This property might be useful for debugging purposes (in conjunction with ServerResponse
or ServerStatusResponse
properties).
Note: You may send your own commands to the IMAP4
server using SendCommand
method.
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.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" Mailer.ServerName = "mailserver.com" Mailer.UserName = "MyName" Mailer.Password = "Wrong password" Mailer.Connect If Not Mailer.IsError Then MsgBox "Connected successfully" Mailer.Disconnect ElseIf Mailer.ErrCode > 300 Then ' IMAP4-specific error, i.e. not connection error MsgBox "Last command sent: " & Mailer.ClientRequest MsgBox "Server reports: " & Mailer.ServerStatusResponse Else MsgBox Mailer.ErrDesc End If
See Also:
ServerResponse
Property
ServerStatusResponse Property
SendCommand Method
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.