svn.filsa.org wordpress_dev

Compare Revisions

Ignore whitespace Rev 12 → Rev 13

/trunk/plugins/mail2wordpress/mail2wp.php
17,7 → 17,6
 
class mail2wp {
 
var $run_id; // unique path
var $image_id = 1;
var $upload_dir;
346,6 → 345,13
$mail_server = new POP3();
$photomail = new mail2wp();
 
$is_active = get_option('m2wp_enabled');
if (! $is_active) {
$photomail->log("Deactivated. Activate the mail2wordpress plugin to start processing emails.");
return true;
}
;
if ( ! $mail_server->connect(get_option('mailserver_url'), get_option('mailserver_port') ) ||
! $mail_server->user(get_option('mailserver_login')) ||
( ! $msg_count = $mail_server->pass(get_option('mailserver_pass')) ) ) {