diff --git a/vendors/shells/vault.php b/vendors/shells/vault.php index c7848f2d..58431676 100755 --- a/vendors/shells/vault.php +++ b/vendors/shells/vault.php @@ -13,7 +13,7 @@ class VaultShell extends Shell { /****************************************************** * Config Variables * *****************************************************/ - $testing = 1; //Whether to actually move the emails. 1=test, 0=production + $testing = 0; //Whether to actually move the emails. 1=test, 0=production /* Setup Connection to the IMAP server */ $username = 'vault'; $password = 'xjdYOsmJWc37'; /* The password for the account to be checked */ @@ -30,7 +30,7 @@ class VaultShell extends Shell { } - $mbox = imap_open("{mail.cmctechnologies.com.au:143}INBOX", $username, $password) or die("can't connect: " . imap_last_error()); + $mbox = imap_open("{mail.cmctechnologies.com.au:143/novalidate-cert}INBOX", $username, $password) or die("can't connect: " . imap_last_error()); $MC = imap_check($mbox); $number_of_messages = $MC->Nmsgs;