Vault now ignoring plain text attachments.
This commit is contained in:
parent
9c061d50d0
commit
06d9afaa62
5
vendors/shells/vault.php
vendored
5
vendors/shells/vault.php
vendored
|
|
@ -108,7 +108,8 @@ class VaultShell extends Shell {
|
||||||
|
|
||||||
if( ($attachment['type'] != 'text/html') && ($attachment['type'] != 'multipart/mixed') &&
|
if( ($attachment['type'] != 'text/html') && ($attachment['type'] != 'multipart/mixed') &&
|
||||||
($attachment['type'] != 'multipart/alternative') &&
|
($attachment['type'] != 'multipart/alternative') &&
|
||||||
($attachment['type'] != 'multipart/report')
|
($attachment['type'] != 'multipart/report') &&
|
||||||
|
($attachment['type'] != 'text/plain')
|
||||||
|
|
||||||
) {
|
) {
|
||||||
$this->EmailAttachment->create();
|
$this->EmailAttachment->create();
|
||||||
|
|
@ -154,7 +155,7 @@ class VaultShell extends Shell {
|
||||||
|
|
||||||
if($testing == 0 ) {
|
if($testing == 0 ) {
|
||||||
|
|
||||||
imap_mail_move($mbox, $i, 'INBOX/Discard');
|
imap_mail_move($mbox, $i, 'INBOX/Discarded');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue