40 | | if ( ! $pop3->connect(get_option('mailserver_url'), get_option('mailserver_port') ) || |
41 | | ! $pop3->user(get_option('mailserver_login')) || |
42 | | ( ! $count = $pop3->pass(get_option('mailserver_pass')) ) ) { |
43 | | $pop3->quit(); |
44 | | wp_die( ( 0 === $count ) ? __('There doesn’t seem to be any new mail.') : esc_html($pop3->ERROR) ); |
| 39 | if ( !$pop3->connect( get_option('mailserver_url'), get_option('mailserver_port') ) || !$pop3->user( get_option('mailserver_login') ) ) |
| 40 | wp_die( esc_html( $pop3->ERROR ) ); |
| 41 | |
| 42 | $count = $pop3->pass( get_option('mailserver_pass') ); |
| 43 | |
| 44 | if( false === $count ) |
| 45 | wp_die( esc_html( $pop3->ERROR ) ); |
| 46 | |
| 47 | if( 0 === $count ) { |
| 48 | $pop3->quit(); |
| 49 | wp_die( __('There doesn’t seem to be any new mail.') ); |