Hi All I hope that everyone is doing well, I was trying to setup the incoming mail and followed the step but kept getting the error message Could not connect to IMAP server.
I made sure that mail confguration is wrong by placing the example.com:993 and that the firewall is not blocking the IMAP for both ssl and no ssl ports along with that I add the correct username and password. But it still failing. dose anyone have any solution to solve this issue. I have tried mutliple plugin to test out the inbox mail and still faced the same issue
I am hosting moodle via private VPS Cpanel and my moodle version is Moodle 4.4.1+
MOODLE_404_STABLE
I have checked with the hosting company and they told me that all the IMAP ports are not blocked.
Please note that I have installed moodle via Softaculous and tested all type of ports (SSL and Non SSL) and selected each type of use_ssl but still facing same issue, could this be a bug and if it is a bug is their an altenrtive solution to fix it manual from the filemanger
Execute scheduled task: Incoming email pickup (tool_messageinbound\task\pickup_task) ... started 12:27:10. Current memory use 29.3 MB. Debugging increased temporarily due to faildelay of 86400 Connecting to info@elearning.skmcsimcenter.site as info@elearning.skmcsimcenter.site... ... used 0 dbqueries ... used 0.032258987426758 seconds Scheduled task failed: Incoming email pickup (tool_messageinbound\task\pickup_task),tool_messageinbound/imapconnectfailure (Could not connect to IMAP server.) Debug info: v. Backtrace: * line 225 of /admin/tool/messageinbound/classes/manager.php: call to tool_messageinbound\manager->get_imap_client() * line 52 of /admin/tool/messageinbound/classes/task/pickup_task.php: call to tool_messageinbound\manager->pickup_messages() * line 410 of /lib/classes/cron.php: call to tool_messageinbound\task\pickup_task->execute() * line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task() * line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks() * line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()