diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-10 10:47:01 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-10 10:47:01 +0000 |
| commit | cd78f6c49a3370eea1df8fb85d84ac7ac58fe1d5 (patch) | |
| tree | 53bd8d95a76a07be91ef04a35370d4ddf0d176d3 /wp-mail.php | |
| parent | c5580572a15003e3c2fb1d9cbd7c2baafe14bb5a (diff) | |
| download | wordpress-mu-cd78f6c49a3370eea1df8fb85d84ac7ac58fe1d5.tar.gz wordpress-mu-cd78f6c49a3370eea1df8fb85d84ac7ac58fe1d5.tar.xz wordpress-mu-cd78f6c49a3370eea1df8fb85d84ac7ac58fe1d5.zip | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@644 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-mail.php')
| -rw-r--r-- | wp-mail.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/wp-mail.php b/wp-mail.php index 7ab76f8..920beff 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -11,10 +11,8 @@ $phone_delim = '::'; $pop3 = new POP3(); -if (!$pop3->connect(get_settings('mailserver_url'), get_settings('mailserver_port'))) : - echo "Ooops $pop3->ERROR <br />\n"; - exit; -endif; +if (!$pop3->connect(get_settings('mailserver_url'), get_settings('mailserver_port'))) + wp_die($pop3->ERROR); $count = $pop3->login(get_settings('mailserver_login'), get_settings('mailserver_pass')); if (0 == $count) wp_die(__('There doesn’t seem to be any new mail.')); |
