Author Topic: Can't enter IMAP mail account  (Read 42 times)

simonwenger

  • Freshman
  • *
  • Posts: 42
    • View Profile
Can't enter IMAP mail account
« on: September 20, 2019, 10:37:15 AM »
I have tried adding two different email accounts in the newest FengOffice (3.7.2.16) installation. After hitting Save the account is not there.
One account was GMail, the other private.
I also cannot read the IMAP folders in the setup process, when I hit check connection, nothing happens but a short turning cursor.

Entering a POP account works fine, but whether sending (stays in Outbox) nor receiving emails works.

Is there a general problem? Did I miss something? Not much I can see...

Logfile:

When I send an email, I can find this in the log.php:

#21 FATAL: ArgumentCountError: Too few arguments to function Hook::fire(), 2 passed in /home/simonwen/www/f3/plugins/mail/application/controllers/MailController.class.php on line 752 and exactly 3 expected in /home/simonwen/www/f3/environment/classes/hook/Hook.class.php:20
    Stack trace:
    #0 /home/simonwen/www/f3/plugins/mail/application/controllers/MailController.class.php(752): Hook::fire('after_add_mail_...', Array)
    #1 /home/simonwen/www/f3/environment/classes/controller/Controller.class.php(76): MailController->add_mail()
    #2 /home/simonwen/www/f3/environment/classes/controller/PageController.class.php(62): Controller->execute('add_mail')
    #3 /home/simonwen/www/f3/environment/classes/Env.class.php(133): PageController->execute('add_mail')
    #4 /home/simonwen/www/f3/init.php(177): Env::executeAction('mail', 'add_mail')
    #5 /home/simonwen/www/f3/index.php(7): require('/home/simonwen/...')
    #6 {main}

When I try to add an IMAP account and fetch the IMAP folders this:

Session "default" started at 2019-09-20T13:34:22+0000
#1 ERROR: Error: Undefined variable: mail_acc_id in '/home/simonwen/www/f3/plugins/mail/application/views/mail/add_account.php' on line 411 (error code: 8)
Time since start: 0.041302919387817 seconds
-------------------------------------------------------------------------------

Session "default" started at 2019-09-20T13:34:43+0000
#1 FATAL: ArgumentCountError: Too few arguments to function Net_Socket::setTimeout(), 0 passed in /home/simonwen/www/f3/library/PEAR/Net/Socket.php on line 251 and exactly 2 expected in /home/simonwen/www/f3/library/PEAR/Net/Socket.php:313
    Stack trace:
    #0 /home/simonwen/www/f3/library/PEAR/Net/Socket.php(251): Net_Socket->setTimeout()
    #1 /home/simonwen/www/f3/library/PEAR/Net/IMAPProtocol.php(189): Net_Socket->connect('ssl://imap.gmai...', 993, NULL, '60', Array)
    #2 /home/simonwen/www/f3/library/PEAR/Net/IMAP.php(70): Net_IMAPProtocol->cmdConnect('ssl://imap.gmai...', 993)
    #3 /home/simonwen/www/f3/library/PEAR/Net/IMAP.php(48): Net_IMAP->connect('ssl://imap.gmai...', 993, NULL)
    #4 /home/simonwen/www/f3/plugins/mail/application/models/mail_accounts/MailAccount.class.php(371): Net_IMAP->Net_IMAP(NULL, 'ssl://imap.gmai...', 993, NULL, Array)
    #5 /home/simonwen/www/f3/plugins/mail/application/helpers/MailUtilities.class.php(1982): MailAccount->imapConnect()
    #6 /home/simonwen/www/f3/plugins/mail/application/controllers/MailController.class.php(3375): MailUtilities->get_imap_account_mailboxes(Object(MailAccount), false)
    #7 /home/simonwen/www/f3/environment/classes/controller/Controller.class.php(76): MailController->fetch_imap_folders()
    #8 /home/simonwen/www/f3/environment/classes/controller/PageController.class.php(62): Controller->execute('fetch_imap_fold...')
    #9 /home/simonwen/www/f3/environment/classes/Env.class.php(133): PageController->execute('fetch_imap_fold...')
    #10 /home/simonwen/www/f3/init.php(177): Env::executeAction('mail', 'fetch_imap_fold...')
    #11 /home/simonwen/www/f3/index.php(7): require('/home/simonwen/...')
    #12 {main}
Time since start: 0.060394048690796 seconds
-------------------------------------------------------------------------------

Session "default" started at 2019-09-20T13:34:47+0000
#1 FATAL: ArgumentCountError: Too few arguments to function Net_Socket::setTimeout(), 0 passed in /home/simonwen/www/f3/library/PEAR/Net/Socket.php on line 251 and exactly 2 expected in /home/simonwen/www/f3/library/PEAR/Net/Socket.php:313
    Stack trace:
    #0 /home/simonwen/www/f3/library/PEAR/Net/Socket.php(251): Net_Socket->setTimeout()
    #1 /home/simonwen/www/f3/library/PEAR/Net/IMAPProtocol.php(189): Net_Socket->connect('ssl://imap.gmai...', 993, NULL, '60', Array)
    #2 /home/simonwen/www/f3/library/PEAR/Net/IMAP.php(70): Net_IMAPProtocol->cmdConnect('ssl://imap.gmai...', 993)
    #3 /home/simonwen/www/f3/library/PEAR/Net/IMAP.php(48): Net_IMAP->connect('ssl://imap.gmai...', 993, NULL)
    #4 /home/simonwen/www/f3/plugins/mail/application/models/mail_accounts/MailAccount.class.php(371): Net_IMAP->Net_IMAP(NULL, 'ssl://imap.gmai...', 993, NULL, Array)
    #5 /home/simonwen/www/f3/plugins/mail/application/controllers/MailController.class.php(3434): MailAccount->imapConnect()
    #6 /home/simonwen/www/f3/environment/classes/controller/Controller.class.php(76): MailController->check_mail_account_connection()
    #7 /home/simonwen/www/f3/environment/classes/controller/PageController.class.php(62): Controller->execute('check_mail_acco...')
    #8 /home/simonwen/www/f3/environment/classes/Env.class.php(133): PageController->execute('check_mail_acco...')
    #9 /home/simonwen/www/f3/init.php(177): Env::executeAction('mail', 'check_mail_acco...')
    #10 /home/simonwen/www/f3/index.php(7): require('/home/simonwen/...')
    #11 {main}

 

anything