LumiSoft Net Help
EncodeMailbox Method (mailbox, encoding)
Namespaces ► LumiSoft.Net.IMAP ► IMAP_Utils ► EncodeMailbox(String, IMAP_Mailbox_Encoding)
Encodes mailbox name.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public static string EncodeMailbox(
    	string mailbox,
    	IMAP_Mailbox_Encoding encoding
    )

    Public Shared Function EncodeMailbox (
    	mailbox As String,
    	encoding As IMAP_Mailbox_Encoding
    ) As String

    public:
    static String^ EncodeMailbox(
    	String^ mailbox,
    	IMAP_Mailbox_Encoding encoding
    )

    static member EncodeMailbox :
            mailbox : string *
            encoding : IMAP_Mailbox_Encoding -> string

Parameters

mailbox (String)
  Mailbox name.

encoding (IMAP_Mailbox_Encoding)
  Mailbox name encoding mechanism.

Return Value
String
Renturns encoded mailbox name.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when mailbox is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119