Make WordPress Core

Changeset 4006 for trunk/wp-mail.php


Ignore:
Timestamp:
07/10/2006 05:29:10 AM (18 years ago)
Author:
ryan
Message:

wp_die() improvements from Sewar. fixes #2902

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-mail.php

    r3985 r4006  
    1212$pop3 = new POP3();
    1313
    14 if (!$pop3->connect(get_settings('mailserver_url'), get_settings('mailserver_port'))) :
    15     echo "Ooops $pop3->ERROR <br />\n";
    16     exit;
    17 endif;
     14if (!$pop3->connect(get_settings('mailserver_url'), get_settings('mailserver_port')))
     15    wp_die($pop3->ERROR);
    1816
    1917$count = $pop3->login(get_settings('mailserver_login'), get_settings('mailserver_pass'));
Note: See TracChangeset for help on using the changeset viewer.