10
10
/** Make sure that the WordPress bootstrap has run before continuing. */
11
11
require(dirname(__FILE__) . '/wp-load.php');
13
16
/** Get the POP3 class with which to access the mailbox. */
14
17
require_once( ABSPATH . WPINC . '/class-pop3.php' );
16
30
$time_difference = get_option('gmt_offset') * 3600;
22
37
if ( ! $pop3->connect(get_option('mailserver_url'), get_option('mailserver_port') ) ||
23
38
! $pop3->user(get_option('mailserver_login')) ||