acs_mail_lite::imap_conn_go (private)

 acs_mail_lite::imap_conn_go [ -conn_id conn_id ] [ -host host ] \
    [ -password password ] [ -port port ] [ -timeout timeout ] \
    [ -user user ] [ -flags flags ] [ -name_mb name_mb ] \
    [ -default_to_inbox_p default_to_inbox_p ] \
    [ -default_box_name default_box_name ]

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

Verifies connection (connId) is established. Tries to establish a connection if it doesn't exist. If mailbox doesn't exist, tries to find an inbox at root of tree or as close as possible to it. If -host parameter is supplied, will try connection with supplied params. Defaults to use connection info provided by parameters via acs_mail_lite::imap_conn_set.

Switches:
-conn_id (optional)
-host (optional)
-password (optional)
-port (optional)
Ignored for now. SSL automatically switches port.
-timeout (optional)
-user (optional)
-flags (optional)
-name_mb (optional)
-default_to_inbox_p (optional, defaults to "0")
If set to 1 and name_mb not found, assigns an inbox if found.
-default_box_name (optional, defaults to "inbox")
Set if default name for default_to_inbox_p should be something other than inbox.
Returns:
connectionId or empty string if unsuccessful.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_mail_lite_inbound_procs_check acs_mail_lite_inbound_procs_check (test acs-mail-lite) acs_mail_lite::imap_conn_go acs_mail_lite::imap_conn_go test_acs_mail_lite_inbound_procs_check->acs_mail_lite::imap_conn_go acs_mail_lite::imap_conn_set acs_mail_lite::imap_conn_set (private) acs_mail_lite::imap_conn_go->acs_mail_lite::imap_conn_set acs_mail_lite::imap_mailbox_join acs_mail_lite::imap_mailbox_join (public) acs_mail_lite::imap_conn_go->acs_mail_lite::imap_mailbox_join acs_mail_lite::imap_check_incoming acs_mail_lite::imap_check_incoming (private) acs_mail_lite::imap_check_incoming->acs_mail_lite::imap_conn_go

Testcases:
acs_mail_lite_inbound_procs_check
[ show source ]
Show another procedure: