- Publicity: Public Only All
imap-inbound-procs.tcl
Provides API for importing email via nsimap
- Location:
- packages/acs-mail-lite/tcl/imap-inbound-procs.tcl
- Created:
- 19 Jul 2017
- CVS Identification:
$Id: imap-inbound-procs.tcl,v 1.8.2.3 2020/09/01 14:29:57 antoniop Exp $
Procedures in this file
- acs_mail_lite::imap_conn_close (public)
- acs_mail_lite::imap_mailbox_join (public)
- acs_mail_lite::imap_mailbox_split (public)
Detailed information
acs_mail_lite::imap_conn_close (public)
acs_mail_lite::imap_conn_close -conn_id conn_id
Closes nsimap session with conn_id. If conn_id is 'all', then all open sessions are closed. Returns 1 if a session is closed, otherwise returns 0.
- Switches:
- -conn_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_mail_lite_inbound_procs_check
acs_mail_lite::imap_mailbox_join (public)
acs_mail_lite::imap_mailbox_join [ -host host ] [ -name name ] \ [ -ssl_p ssl_p ]
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"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_mail_lite_inbound_procs_check
acs_mail_lite::imap_mailbox_split (public)
acs_mail_lite::imap_mailbox_split [ mailbox ]
Returns a list: mailbox.host mailbox.name ssl_p, where mailbox.host and mailbox.name are defined in ns_map documentation. If mailbox.host has suffix "/ssl", suffix is removed and ssl_p is "1", otherwise ssl_p is "0". If mailbox cannot be parsed, returns an empty list.
- Parameters:
- mailbox (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_mail_lite_inbound_procs_check