- Publicity: Public Only All
maildir-inbound-procs.tcl
Provides API for importing email via postfix maildir
- Location:
- packages/acs-mail-lite/tcl/maildir-inbound-procs.tcl
- Created:
- 12 Oct 2017
- CVS Identification:
$Id: maildir-inbound-procs.tcl,v 1.8.2.1 2019/11/16 16:54:06 gustafn Exp $
Procedures in this file
- acs_mail_lite::maildir_check_incoming (private)
- acs_mail_lite::maildir_email_parse (private)
Detailed information
acs_mail_lite::maildir_check_incoming (private)
acs_mail_lite::maildir_check_incoming
Checks for new, actionable incoming email via Postfix MailDir standards. Email is actionable if it is identified by acs_mail_lite::email_type. When actionable, email is buffered in table acs_mail_lite_from_external and callbacks are triggered.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
acs_mail_lite::maildir_email_parse (private)
acs_mail_lite::maildir_email_parse \ [ -headers_arr_name headers_arr_name ] \ [ -parts_arr_name parts_arr_name ] [ -message_fpn message_fpn ] \ [ -part_id part_id ] [ -section_ref section_ref ] \ [ -error_p error_p ]
Parse an email from a Postfix maildir into array array_name for adding to queue via acs_mail_lite::inbound_queue_insert
Parsed data is set in headers and parts arrays in calling environment.
- Switches:
- -headers_arr_name (optional)
- -parts_arr_name (optional)
- -message_fpn (optional)
- is absolute file path and name of one message
- -part_id (optional)
- -section_ref (optional)
- -error_p (optional, defaults to
"0"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.