Browse Source

Disabling read-only mode on checkmail2

Alan Hardman 4 years ago
parent
commit
77534b98c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cron/checkmail2.php

+ 1 - 1
cron/checkmail2.php

@@ -7,7 +7,7 @@ if(!isset($imap["hostname"])) {
 	throw new Exception("No IMAP hostname specified in configuration");
 }
 
-$inbox = imap_open($imap['hostname'],$imap['username'],$imap['password'], OP_READONLY);
+$inbox = imap_open($imap['hostname'],$imap['username'],$imap['password']);
 if($inbox === false) {
 	$err = 'Cannot connect to IMAP: ' . imap_last_error();
 	$log->write($err);