Menu

Ticket Creation from eMails

2020-11-03
2020-11-19
  • Korantin MARIETTE

    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 ?

     
  • Pierre Goiffon

    Pierre Goiffon - 2020-11-12

    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.

     
  • Korantin MARIETTE

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.