diff --git a/vendors/shells/vault.php b/vendors/shells/vault.php index d4477886..4419603d 100755 --- a/vendors/shells/vault.php +++ b/vendors/shells/vault.php @@ -108,7 +108,8 @@ class VaultShell extends Shell { if( ($attachment['type'] != 'text/html') && ($attachment['type'] != 'multipart/mixed') && ($attachment['type'] != 'multipart/alternative') && - ($attachment['type'] != 'multipart/report') + ($attachment['type'] != 'multipart/report') && + ($attachment['type'] != 'text/plain') ) { $this->EmailAttachment->create(); @@ -154,7 +155,7 @@ class VaultShell extends Shell { if($testing == 0 ) { - imap_mail_move($mbox, $i, 'INBOX/Discard'); + imap_mail_move($mbox, $i, 'INBOX/Discarded'); } }