HI everyone,I registered an email with ostickets which is working fine but the problem is email fetching time from the configured email inbox is much high it is approximately 2-4 min. I tested with replacing the fetch frequency to 1-10 and Emails Per Fetch to 5-30  in Admin--> EMails --> Emails --> Fetching Email via IMAP or POP, still it is taking the same time i.e., 2-4 min. The configured email inbox is receiving the sent mail in just 15 seconds, but the ostickets fetch duration is high i.e., 2-4 min. How can I get the solution for this Delay in Mail Fetching.

[emailfetchingreport.pdf](https://forum.osticket.com/assets/files/migrated/FileUpload/e4/7dffc28849c718ba767b48e4dd9909.pdf)

Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.

Hi sir,Below are the configurations I installed. Like I said Main problem is fetching the emails(Fetching Email via IMAP or POP) from the configured mail inbox is taking much time almost 2-4 min.Ticket System Version   v1.9.5.1 (1faad22)Web Server Software    Apache/2.2.15 (CentOS)MySQL Version               5.1.73PHP Version                   

5.3.3Fetching Email via IMAP or POP

Hostname         imap.gmail.com, Port Number     993. Sending Email via SMTP 

Hostname         smtp.gmail.com, Port Number     587, Authentication Required    yes

Well 1.9.5.1 is ancient.  It was released on Jan 12 2015... PHP 5.3 is also really old.You should probable upgrade to PHP 5.6 or 7.0 and the current version of the product.

Ok sir, sure I will upgrade it, but the issue is resolved.In php 5.6 am facing the problem at Imap or pop configurations settings

and at send mail , so I am using 5.3. Now it is working fine.Thanks & regards srivishal

In php 5.6 am facing the problem at Imap or pop configurations settings and at send mail , so I am using 5.3. Now it is working fine.Thanks & regrdssrivishal

9 days later

Hi ntozier ,For the above issue i.e., Delay in mail Fetching I used crontab and set it to execute the cron.php file for every 10 secs, now am getting the mails accurately within 30 secs, but the problem is that it is posting some heavy load (almost 10 gb data consumed for 2days). How to overcome this scenario.Ticket System Version   v1.9.5.1 (1faad22)Web Server Software    Apache/2.2.15 (CentOS)MySQL Version               5.1.73PHP Version                    5.3.3Fetching Email via IMAP or POPHostname         imap.gmail.com, Port Number     993. Sending Email via SMTP  Hostname         smtp.gmail.com, Port Number     587, Authentication Required    yesthanks and regards,Srivishal

So to be clear, you want to know how to over come 10gb of data in two days?But thats the bandwidth your using to collect emails?

Write a Reply...