Pop 3 command line error
Posted: Wed Nov 06, 2013 2:20 pm
Script URL: c:\intepub\wwwroot\IT helpdesk\inc\mail\hesk_pop3.php
Version of script: hesk 2.5.2
Hosting company: in house
URL of phpinfo.php: C:\PHP
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Pop3, temporary directory
Write your message below:
I'm currently trying to get pop 3 working on our system. It works when running the php script in a browser, emails that have been sent to our pop 3 account get entered into our hesk database. The script doesn't work when being run from the command line which I'm trying to use to prove the script works without a browser. I'm trying to make a windows scheduled task in order to run the script every five minutes. The command I'm using is:
php "C:\inetpub\wwwroot\IT Helpdesk\inc\mail\hesk_pop3.php"
And the error that is being returned is:
´╗┐The temporary directory "C:\inetpub\wwwroot\IT Helpdesk/attachments/733c6e971
de7371aa7aac4c87f6bcce1" doesn't exist.
Am I running the wrong command? How would your normally get the script to run via a scheduled task on windows.
Also is there a way to specify the category the pop3 tickets go into and the account they get assigned to?
Version of script: hesk 2.5.2
Hosting company: in house
URL of phpinfo.php: C:\PHP
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Pop3, temporary directory
Write your message below:
I'm currently trying to get pop 3 working on our system. It works when running the php script in a browser, emails that have been sent to our pop 3 account get entered into our hesk database. The script doesn't work when being run from the command line which I'm trying to use to prove the script works without a browser. I'm trying to make a windows scheduled task in order to run the script every five minutes. The command I'm using is:
php "C:\inetpub\wwwroot\IT Helpdesk\inc\mail\hesk_pop3.php"
And the error that is being returned is:
´╗┐The temporary directory "C:\inetpub\wwwroot\IT Helpdesk/attachments/733c6e971
de7371aa7aac4c87f6bcce1" doesn't exist.
Am I running the wrong command? How would your normally get the script to run via a scheduled task on windows.
Also is there a way to specify the category the pop3 tickets go into and the account they get assigned to?