mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
added an option to specify the imap restore folder
This commit is contained in:
@ -88,7 +88,7 @@ class ControllerMessageBulkrestore extends Controller {
|
||||
|
||||
if(RESTORE_OVER_IMAP == 1) {
|
||||
if($imap_ok) {
|
||||
$x = $this->imap->append('INBOX', $msg);
|
||||
$x = $this->imap->append(IMAP_RESTORE_FOLDER, $msg);
|
||||
}
|
||||
else { $x = 0; }
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ class ControllerMessageRestore extends Controller {
|
||||
|
||||
if(RESTORE_OVER_IMAP == 1) {
|
||||
if($this->model_mail_mail->connect_imap()) {
|
||||
$x = $this->imap->append('INBOX', $msg);
|
||||
$x = $this->imap->append(IMAP_RESTORE_FOLDER, $msg);
|
||||
$this->model_mail_mail->disconnect_imap();
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user