notification::email::parse_email_address (private)

 notification::email::parse_email_address email

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

Strip out the user's name (in angle brackets) from an e-mail address if it exists.

Parameters:
email (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_email_address notification::email::parse_email_address callback::acs_mail_lite::incoming_email::impl::notifications->notification::email::parse_email_address notification::email::bounce_mail_message notification::email::bounce_mail_message (public) notification::email::bounce_mail_message->notification::email::parse_email_address notification::email::load_qmail_mail_queue notification::email::load_qmail_mail_queue (private) notification::email::load_qmail_mail_queue->notification::email::parse_email_address

Testcases:
No testcase defined.
Source code:
        if {![regexp {<([^>]*)>} $email all clean_email]} {
            return $email
        } else {
            return $clean_email
        }
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: