roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
protected function user_emails()
    {
        $addresses = $this->rc->user->list_emails();

        foreach ($addresses as $idx => $email) {
            $addresses[$idx] = $email['email'];
        }

        $addresses = array_unique($addresses);
        sort($addresses);

        return $addresses;
    }
protected function user_emails()
    {
        $addresses = $this->rc->user->list_emails();

        foreach ($addresses as $idx => $email) {
            $addresses[$idx] = $email['email'];
        }

        $addresses = array_unique($addresses);
        sort($addresses);

        return $addresses;
    }
protected function user_emails ( ) { $ addresses = $ this -> rc -> user -> list_emails ( ) ; foreach ( $ addresses as $ idx => $ email ) { $ addresses [ $ idx ] = $ email [ 'email' ] ; } $ addresses = array_unique ( $ addresses ) ; sort ( $ addresses ) ; return $ addresses ; }
Get all e-mail addresses of the user
Get all e - mail addresses of the user