• 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

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):
%3 test_acs_mail_lite_inbound_procs_check acs_mail_lite_inbound_procs_check (test acs-mail-lite) acs_mail_lite::imap_conn_close acs_mail_lite::imap_conn_close test_acs_mail_lite_inbound_procs_check->acs_mail_lite::imap_conn_close acs_mail_lite::imap_check_incoming acs_mail_lite::imap_check_incoming (private) acs_mail_lite::imap_check_incoming->acs_mail_lite::imap_conn_close

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
(defaults to "0") (optional)

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_mailbox_join acs_mail_lite::imap_mailbox_join test_acs_mail_lite_inbound_procs_check->acs_mail_lite::imap_mailbox_join acs_mail_lite::imap_conn_go acs_mail_lite::imap_conn_go (private) acs_mail_lite::imap_conn_go->acs_mail_lite::imap_mailbox_join acs_mail_lite::imap_conn_set acs_mail_lite::imap_conn_set (private) acs_mail_lite::imap_conn_set->acs_mail_lite::imap_mailbox_join

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):
%3 test_acs_mail_lite_inbound_procs_check acs_mail_lite_inbound_procs_check (test acs-mail-lite) acs_mail_lite::imap_mailbox_split acs_mail_lite::imap_mailbox_split test_acs_mail_lite_inbound_procs_check->acs_mail_lite::imap_mailbox_split acs_mail_lite::imap_conn_set acs_mail_lite::imap_conn_set (private) acs_mail_lite::imap_conn_set->acs_mail_lite::imap_mailbox_split

Testcases:
acs_mail_lite_inbound_procs_check
[ show source ]