I am trying to create Tickets from Mails with the extension available in the ItopHub.
I installed ITOP on a XAMPP so everything could be centralized and am now troubleshooting the execution of the cron.php (or cron.cmd for the task scheduling) and the fllowing error come up :
Protocol: imap Mail server: outlook.office365.com, port: 993, login: <mail>, password: <pwd>, mailbox: INBOX, options: /imap/ssl
Error - Failed to initialize the mailbox: <mail>, the mailbox will not be polled. Reason (The imap_open function is missing. Did you forget to install the PHP module "IMAP" on the server?)
EmailBackgroundProcess: Message(s) read: 0, message(s) skipped: 0, message(s) processed: 0, message(s) deleted: 0, message(s) marked as error: 0, undesired message(s): 0</mail></pwd></mail>
I do have the PHP IMAP module install and activated in the php.ini file and when i manualy try to open a stream it works. Plus i can see the content of the said mailbox inbox in ITOP, so i clearly opens and read the stream properly.
Is there a specific instance of PHP that the CRON.php is running that wouldn't load the imap_open function ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Beware that many times system have a PHP config for the web server and another one for the CLI. You can check this executing php -i on command line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Thank you very much, the php that was used for this action wasn't the one that was installed in the XAMPP file system.
I reconfigured properly the other PHP and it is now running perfectly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am trying to create Tickets from Mails with the extension available in the ItopHub.
I installed ITOP on a XAMPP so everything could be centralized and am now troubleshooting the execution of the cron.php (or cron.cmd for the task scheduling) and the fllowing error come up :
Protocol: imap Mail server: outlook.office365.com, port: 993, login: <mail>, password: <pwd>, mailbox: INBOX, options: /imap/ssl
Error - Failed to initialize the mailbox: <mail>, the mailbox will not be polled. Reason (The imap_open function is missing. Did you forget to install the PHP module "IMAP" on the server?)
EmailBackgroundProcess: Message(s) read: 0, message(s) skipped: 0, message(s) processed: 0, message(s) deleted: 0, message(s) marked as error: 0, undesired message(s): 0</mail></pwd></mail>
I do have the PHP IMAP module install and activated in the php.ini file and when i manualy try to open a stream it works. Plus i can see the content of the said mailbox inbox in ITOP, so i clearly opens and read the stream properly.
Is there a specific instance of PHP that the CRON.php is running that wouldn't load the imap_open function ?
Hello,
Beware that many times system have a PHP config for the web server and another one for the CLI. You can check this executing
php -i
on command line.Hello,
Thank you very much, the php that was used for this action wasn't the one that was installed in the XAMPP file system.
I reconfigured properly the other PHP and it is now running perfectly.