Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue receiving emails for Gmail after update. #1984

Closed
andrewlimaza opened this issue May 10, 2022 · 5 comments
Closed

Issue receiving emails for Gmail after update. #1984

andrewlimaza opened this issue May 10, 2022 · 5 comments

Comments

@andrewlimaza
Copy link
Contributor

andrewlimaza commented May 10, 2022

I am unable to receive emails (sending emails are okay) and I get the following fatal error:

[2022-05-10 06:10:03] production.ERROR: Call to a member function sortBy() on array {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function sortBy() on array at /var/www/html/app/Console/Commands/FetchEmails.php:1096)

I can send emails from this account, fetch mailboxes etc. Only fetching emails break for this particular mailbox. We have another mailbox on the same server, also running through Gmail which works just fine, with even more IMAP folders.

@andrewlimaza
Copy link
Contributor Author

Here's the error from the fetch-emails.log file ->

[2022-05-10 06:15:02] Folder: [Gmail]
[2022-05-10 06:15:02] [NONEXISTENT] Unknown Mailbox: [Gmail] (now in authenticated state) (Failure)
[2022-05-10 06:15:02] Folder: [Gmail]; Error: [NONEXISTENT] Unknown Mailbox: [Gmail] (now in authenticated state) (Failure)
[2022-05-10 06:15:02] Fetched: 0

In FetchEmails.php line 1096:

Call to a member function sortBy() on array

@freescout-helpdesk
Copy link
Contributor

Are you using modern Microsoft Exchange authentication or regular IMAP?

@andrewlimaza
Copy link
Contributor Author

Just regular IMAP via Gmail. I also tried with just "INBOX" as the IMAP Folder as I thought maybe that would be the issue of IMAP folders being like [Gmail]/spam etc ( but the other gmail mailbox on the same server works just fine).

@andrewlimaza
Copy link
Contributor Author

Just updating this if someone else is experiencing this issue. We went into our Gmail email directly and deleted 'weird' emails from the account and it resolved the issue. There were special characters in the email and caused a problem.

@raramuridesign
Copy link

@andrewlimaza What specific weird emails were you seeing, any examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants