notification::email::parse_reply_address (private)

 notification::email::parse_reply_address -reply_address reply_address

Defined in packages/notifications/tcl/notification-email-procs.tcl

This takes a reply address, checks it for consistency, and returns a list of object_id and type_id

Switches:
-reply_address (required)

Partial Call Graph (max 5 caller/called nodes):
%3 callback::acs_mail_lite::incoming_email::impl::notifications callback::acs_mail_lite::incoming_email::impl::notifications (private) notification::email::parse_reply_address notification::email::parse_reply_address callback::acs_mail_lite::incoming_email::impl::notifications->notification::email::parse_reply_address notification::email::load_qmail_mail_queue notification::email::load_qmail_mail_queue (private) notification::email::load_qmail_mail_queue->notification::email::parse_reply_address notification::email::reply_address_prefix notification::email::reply_address_prefix (public) notification::email::parse_reply_address->notification::email::reply_address_prefix

Testcases:
No testcase defined.
Source code:
        # The pattern to match
        set regexp_str "^[reply_address_prefix]-(\[0-9\]*)-(\[0-9\]*)\@"

        # Check the format and extract type_id and object_id at the same time
        if {![regexp $regexp_str $reply_address all object_id type_id]} {
            return ""
        }

        return [list $object_id $type_id]
XQL Not present:
PostgreSQL
Generic XQL file:
packages/notifications/tcl/notification-email-procs.xql

Oracle XQL file:
packages/notifications/tcl/notification-email-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: