Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Mail fetching with autocron

Hi ,

I want to configure the email fetching with IMAP protocol of Gmail on windows 2012 server with a Gmail test address,

My setting is :
       Host: imap.gmail.com
       Port: 993
       Protocol: IMAP
       Encryption: SSL

But, when I try to save the changes ,  I got   an error page   HTTP 505  after a long wait  ,  the web site cannot display the page

Thanks

Comments

  • Have you enabled IMAP in your Gmail settings?

  • I enabled IMAP in my php  extension !  I thought that by default IMAP is enabled in Gmail ?

    how to enable IMAP in Gmail , I already installed osTicket in windows 7, and the fetching was working with the same Gmail account without doing anything in Gmail setting



  • I checked my Gmail account  IMAP  is enabled , when I try to configure the fetching I am getting blank page !
  • Is there anything in your php error log?
    I would also recommend upgrading to 1.8.x.


  • Hi Thanks for your reply, here what's inside the apache_error:


    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP Warning:  imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX in E:\\wamp\\www\\osticket\\include\\class.mailfetch.php on line 138, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP Stack trace:, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   1. {main}() E:\\wamp\\www\\osticket\\scp\\emails.php:0, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   2. Email->update() E:\\wamp\\www\\osticket\\scp\\emails.php:28, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   3. Email->save() E:\\wamp\\www\\osticket\\include\\class.email.php:171, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   4. MailFetcher->connect() E:\\wamp\\www\\osticket\\include\\class.email.php:312, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   5. MailFetcher->open() E:\\wamp\\www\\osticket\\include\\class.mailfetch.php:116, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   6. call_user_func_array() E:\\wamp\\www\\osticket\\include\\class.mailfetch.php:138, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in E:\\wamp\\www\\osticket\\include\\class.mailfetch.php on line 138, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP Stack trace:, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   1. {main}() E:\\wamp\\www\\osticket\\scp\\emails.php:0, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   2. Email->update() E:\\wamp\\www\\osticket\\scp\\emails.php:28, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   3. Email->save() E:\\wamp\\www\\osticket\\include\\class.email.php:171, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   4. MailFetcher->connect() E:\\wamp\\www\\osticket\\include\\class.email.php:312, referer: http://localhost/osticket/scp/emails.php?id=5
    [Sun Feb 09 11:41:16.609388 2014] [:error] [pid 1884:tid 1628] [client ::1:55476] PHP   5. MailFetcher->open() E:\\wamp\\www\\osticket\\include\\class.mailfetch.php:116, referer: http://localhost/osticket/scp/emails.php?id=5

  • Hi,

    I installed the version 1,8 and got the following error when I try to configure the email fetch

    Warning: imap_open(): Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX in E:\wamp\www\osticket\include\class.mailfetch.php on line 139


Sign In or Register to comment.