acs_mail_lite::imap_mailbox_join (public)

 acs_mail_lite::imap_mailbox_join [ -host host ] [ -name name ] \
    [ -ssl_p ssl_p ]

Defined in packages/acs-mail-lite/tcl/imap-inbound-procs.tcl

Creates an ns_imap usable mailbox consisting of curly brace quoted {mailbox.host}mailbox.name.

Switches:
-host (optional)
-name (optional)
-ssl_p (optional, defaults to "0")

Testcases:
acs_mail_lite_inbound_procs_check
Source code:
    # Quote mailbox with curly braces per nsimap documentation.
    set mb "{"
    append mb ${host}
    if { [string is true -strict $ssl_p] && ![string match {*/ssl} $host] } {
        append mb {/ssl}
    }
    append mb "}" ${name}

    return $mb
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: