diff --git a/src/config.h b/src/config.h index 360917e..b084185 100644 --- a/src/config.h +++ b/src/config.h @@ -11,7 +11,7 @@ #define PROGNAME "piler" -#define VERSION "0.1.17.1" +#define VERSION "0.1.17.2" #define PROGINFO VERSION ", Janos SUTO \n\n" CONFIGURE_PARAMS "\n" diff --git a/webui/controller/message/bulkrestore.php b/webui/controller/message/bulkrestore.php index 21d726e..f97a4b8 100644 --- a/webui/controller/message/bulkrestore.php +++ b/webui/controller/message/bulkrestore.php @@ -39,10 +39,10 @@ AUDIT(ACTION_RESTORE_MESSAGE, '', '', $id, ''); - /*$x = $this->model_mail_mail->send_smtp_email(SMARTHOST, SMARTHOST_PORT, SMTP_DOMAIN, SMTP_FROMADDR, $rcpt, + $x = $this->model_mail_mail->send_smtp_email(SMARTHOST, SMARTHOST_PORT, SMTP_DOMAIN, SMTP_FROMADDR, $rcpt, "Received: by piler" . EOL . PILER_HEADER_FIELD . $id . EOL . $this->model_search_message->get_raw_message($id) ); - if($x == 1) { $this->data['restored']++; }*/ + if($x == 1) { $this->data['restored']++; } } $this->render();