MailboxList Event

Fired for each mailbox received through the ListMailboxes and ListSubscribedMailboxes methods.

Syntax

public event OnMailboxListHandler OnMailboxList;

public delegate void OnMailboxListHandler(object sender, ImapMailboxListEventArgs e);

public class ImapMailboxListEventArgs : EventArgs {
  public string Mailbox { get; }
  public string Separator { get; }
  public string Flags { get; }
}
Public Event OnMailboxList As OnMailboxListHandler

Public Delegate Sub OnMailboxListHandler(sender As Object, e As ImapMailboxListEventArgs)

Public Class ImapMailboxListEventArgs Inherits EventArgs
  Public ReadOnly Property Mailbox As String
  Public ReadOnly Property Separator As String
  Public ReadOnly Property Flags As String
End Class

Remarks

This method is fired for each mailbox received through the ListMailboxes and ListSubscribedMailboxes methods. The Separator parameter contains the character that separates the different parts in the mailbox path hierarchy.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]