| | |
| | | $imap_charset = RCMAIL_CHARSET; |
| | | |
| | | // get search string |
| | | $str = get_input_value('_q', RCUBE_INPUT_GET); |
| | | $filter = get_input_value('_filter', RCUBE_INPUT_GET); |
| | | $mbox = get_input_value('_mbox', RCUBE_INPUT_GET); |
| | | $str = get_input_value('_q', RCUBE_INPUT_GET, true); |
| | | $mbox = get_input_value('_mbox', RCUBE_INPUT_GET, true); |
| | | $filter = get_input_value('_filter', RCUBE_INPUT_GET); |
| | | $headers = get_input_value('_headers', RCUBE_INPUT_GET); |
| | | |
| | | $search_request = md5($mbox.$filter.$str); |
| | | |
| | | // add list filter string |
| | |
| | | } |
| | | // handle IMAP errors (e.g. #1486905) |
| | | else if ($err_code = $IMAP->get_error_code()) { |
| | | $err_str = $IMAP->get_error_str(); |
| | | $OUTPUT->show_message('servererrormsg', 'error', array('msg' => $err_str)); |
| | | rcmail_display_server_error(); |
| | | } |
| | | else { |
| | | $OUTPUT->show_message('searchnomatch', 'notice'); |