osTicket not able to access folder in Mailbox - php

I am using osTicket as ticket system on my site. Hope someone here will be able to help me out.
I was setting up an email in osTicket so that emails can be retrieved automatically. Fetching works properly but I am facing these issues:
Mail fetching:
a. Sometimes the fetching works and I can see the new ticket.
b. sometimes the email is deleted from mail box (as I have selected
"Delete fetched emails") but no ticket is created.
c. Sometimes the ticket is created and I can see it in database but
it is not automatically assigned to anyone although a user is
selected for Auto-assign in HelpTopics.
I cannot setup "Move to" for fetched emails in Mail Account page. When I enter the folder name and click on save, it gives error "Invalid or unknown archive folder!" and " Invalid or unknown mail folder! >> Mailbox is empty" errors. I created the folder from Horde but for some reason osTicket is not able to access that folder i guess. This is when Protocol is POP.
If I select IMAP and click on save, I get:
Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:110/imap/novalidate-cert}INBOX in /home/admin/lifeemail.com/support/include/class.mailfetch.php on line 130 on top of the page and below in the settings table i get this in red: [CLOSED] IMAP connection broken (server response)
Point 2 is the main problem that is a headache. I tried getting help from Google and osTicket forum(its not very active) but I got nothing.
I am using 1.7 RC3.

try to type the folder name this way:
INBOX.myfolder
should work!

Solved #2 for you, "When I enter the folder name and click on save, it gives error 'Invalid or unknown archive folder!' and 'Invalid or unknown mail folder! >> Mailbox is empty' errors."
I also could not enter the folder name into the "Move to folder" field. I solved it by clicking in the field, and keeping the mouse key held down while typing the name of the folder.

Related

Implement Imap inside codeigniter project

It works fine using below plugins from xampp
php_imap.dll
But I want to implement the same inside Codeigniter project
I tried below code from here https://www.electrictoolbox.com/php-imap-loop-messages-specific-subject/
$unreadEmails = imap_search($connection,
'UNSEEN SUBJECT "Create Ticket" FROM "admin#xyz.com"');
But it throws error :
Message: Call to undefined method Imap::imap_search()
I would like to get all email by unseen, subject contains, on date and if any attachments. Also, mark the email as read after processing.
So how to get source code of the existing IMAP API source code from xampp OR Any sample example to where the code which have config file, IMAP file to place under Codeigniter page. Thanks in advance

magento installation on localhost giving creating admin account error

I have installed magento on localhost successfully but one small problem I'm facing is when I'm trying to create an admin account it is showing message "Only registered domain accounts are allowed" when I entered my email address. Can anyone help me ?
We are facing this problem in the actual site also when the customer buys some product from our site and come back to buy another product magento shows the same message even when person click on forgot password it shows same message again.
Please help me?
Usually while installation of Magento, it is not required to get the domain accounts registered.For localhost, it accepts any valid email ID.
But since your are facing an issue, Check, While installation of Magento (I am using version 1.9.0.1), In your database connection phase:
1) Select Drop Down option FILE SYSTEM for save session data.
2) Enable Charts should be checked.
3) Base URL must have your localhost path to magento.
4) Admin path should be : admin.

Setup email account to pipe into php script in ISPConfig

I am trying to pipe an email address into a php script in ISPConfig administration.
I read that under Email mailbox/Custom rules it could be defined.
I have tried with:
to "|/my/script.php"
or just
"|/my/script.php"
then I found errors in /var/vmail/mailbox/x/.sieve.log
sieve: info: started log at Nov 27 12:58:22. main script: line 5:
error: unknown command 'to' (only reported once at first occurrence).
main script: error: validation failed.
so i guess some valid sieve script should go to Custom rules instead.
Any help would be appreciated.
I think piping the email is feature of email service provide. if he give an option to pipe the email then only u can.
i don't know exactly why this of your problem come. but i faced the same issue before due to service of email.

Can't connect to couchbase via php

I have this strange issue that I'm banging my heads off. It works on dev machine but when I moved it to prod machine, I got this error:
FastCGI-stderr: PHP Fatal error: Uncaught exception 'CouchbaseLibcouchbaseException' with message 'Failed to create libcouchbase instance: Administrator account must not be used to access the data in the bucket' in /var/www/myapps/Bootstrap.php:149
This is line 149:
$couchbase = new Couchbase($db['host'],$db['username'],$db['password'], $db['dbname']);
Did I miss something? I turn off all my firewall and selinux to make sure it's not their issue. Still the same..
I'm using:
CentOS 6.4 64Bit
Couchbase 2.01
whatever the php-ext-couchbase define in this repo:
http://packages.couchbase.com/rpm/couchbase-centos62-x86_64.repo
I can login with no issue via browser with the same username and password.
The question is, is this really an account issue? If it is then how or where do I create another user? Can't seem to find it anywhere in the documentation.
If not, any suggestion on how I should debug this? Please help?
Is your bucket password protected? If not, just pass a blank user id and password to the connect. To find out if it has a password go to the bucket configuration area (Data Buckets, Click the down arrow, click the "edit" button). The password is set under "access control"
on the edit screen.

Unable to connect to the database mysql?

I've downloaded the wamp server and it's online. I'm trying to install Joomla.
At page 4 I'm told Unable to connect to the database
An error has occurred:The database details provided are incorrect and/or empty.
Can anyone help me in fixing this error?
This problem has been fixed by Ocaso Protal, finaly this page ocurs
what should I put here ?Site Name? nd finaly why should i use joomla any specific properties of this product ?
Even if you use the default settings for mysql (user: root, password empty) you should put the username root in the Username field in the form that's showed in your first screenshot.
You must check these things before
Setup a blank database from the Cpanel/Mysql Admin
Fix the username/password and user permissions on this database
Run Joomla... and give it the above credentials + localhost
Make sure you have 777 or adequate permissions otherwise some errors may occur#
If im not mistaken the default account for wamp/xamp myqsl is
user: "root"
password: ""
//Password is null - do not write nothing inside

Categories