acs_mail_lite::inbound_cache_hit_p (private)

 acs_mail_lite::inbound_cache_hit_p email_uid uidvalidity \
    mailbox_host_name

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

Check email unique id (UID) against history in table. If already exists, returns 1 otherwise 0. Adds checked case to cache if not already there. uidvalidity is defined by imap RFC 3501 2.3.1.1 https://tools.ietf.org/html/rfc3501#section-2.3.1.1 Other protocols have an analog mechanism, or one can be made locally to be equivalent in use.

Parameters:
email_uid (required)
uidvalidity (required)
mailbox_host_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 acs_mail_lite::imap_check_incoming acs_mail_lite::imap_check_incoming (private) acs_mail_lite::inbound_cache_hit_p acs_mail_lite::inbound_cache_hit_p acs_mail_lite::imap_check_incoming->acs_mail_lite::inbound_cache_hit_p acs_mail_lite::maildir_check_incoming acs_mail_lite::maildir_check_incoming (private) acs_mail_lite::maildir_check_incoming->acs_mail_lite::inbound_cache_hit_p db_0or1row db_0or1row (public) acs_mail_lite::inbound_cache_hit_p->db_0or1row db_dml db_dml (public) acs_mail_lite::inbound_cache_hit_p->db_dml db_nextval db_nextval (public) acs_mail_lite::inbound_cache_hit_p->db_nextval

Testcases:
No testcase defined.
[ show source ]
Show another procedure: