Delimiter Property


Specifies the character that is used as hierarchy delimiter of mailbox levels.

For example, if there is "Archive/Private" mailbox on the server and Delimiter="/", then "Private" is a subfolder of "Archive" mailbox.


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

Usage example:

' This sample prints hierarchy delimiter used in the IMAP4 account
Dim Mailer, Mailboxes
'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:\Temp\imap4_log.txt"
Mailer.ClearLog
Mailer.LicenseKey = "put your license key here"
If Mailer.Connect("mailserver.com", 143, "MyName", "MyPassword") Then
  Set Mailboxes = Mailer.RetrieveMailboxes
  If Not Mailboxes Is Nothing Then
    If Mailboxes.Count > 0 Then 
      MsgBox "Delimiter: " & Mailboxes(1).Delimiter
    End If
  End If
  Mailer.Disconnect
End If

See Also:

Flags Property
Name Property


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