Remove the reliance on php-imap extension to test imap connection in setting. Also removed the check for php-imap in the mai, parser as we use fully rely on webklex

This commit is contained in:
johnnyq
2024-06-25 15:48:56 -04:00
parent 40866e34e2
commit b0c5d43867
2 changed files with 22 additions and 12 deletions

View File

@@ -41,11 +41,6 @@ if ($argv[1] !== $config_cron_key) {
exit("Cron Key invalid -- Quitting..");
}
// Check IMAP extension works/installed
if (!function_exists('imap_open')) {
exit("Email Parser: PHP IMAP extension is not installed. See https://docs.itflow.org/ticket_email_parse -- Quitting..");
}
// Get system temp directory
$temp_dir = sys_get_temp_dir();