Answers.Body: <p>Ah, I've figured it out. In the option for <em>Source</em>, it was set to <em>CiviCRM</em> but I'd not set up the corresponding email box in Gmail. When I deleted it, it worked.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-18T20:32:51.867Z
Answers.LastActivityDate: 2022-03-18T20:32:51.867Z
Answers.UserDisplayName: Vshura
Body: <p>I have been having errors with the authentication for CiviMail's fetch_bounces. The error on the log for fetch_bounces reads:</p>
  <pre><code>Fetch Bounces   
  Entity: Job Action: fetch_bounces
  Summary
  Finished execution of Fetch Bounces with result: Failure, Error message: Could not connect to MailStore for return@****.org@imap.gmail.comError message: An error occured while sending or receiving mail. Could not selec (...)
  Details
  
  
  Parameters parsed (and passed to API method): 
  a:1:{s:7:&quot;version&quot;;i:3;}
  
  Full message: 
  Finished execution of Fetch Bounces with result: Failure, Error message: Could not connect to MailStore for return@****.org@imap.gmail.com
  
  Error message: 
  
  An error occured while sending or receiving mail. Could not select mailbox 'CiviCRM': A0002 NO [NONEXISTENT] Unknown Mailbox: CiviCRM (Failure).
  </code></pre>
  <p>When I look at the setup for the CiviCRM return account, I have the following setup:</p>
  <p><a href="https://i.sstatic.net/oN5Wt.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/oN5Wt.png" alt="CiviCRM Return Email Setup" /></a></p>
  <p>When I click 'Save and Test' I again get the message</p>
  <p><code>An error occured while sending or receiving mail. Could not select mailbox 'CiviCRM': A0002 NO [NONEXISTENT] Unknown Mailbox: CiviCRM (Failure). (See log for more details.)</code></p>
  <p>However, the email does exist on G-Suite and I am using an app password for a 2FA Google Account. This was working ok in the past. Any advice?</p>
  <p>I am using the most revent version of CiviCRM (5.47.2) on Wordpress.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-18T15:06:53.540Z
Comments.Text: Is this the same as the first error in https://civicrm.stackexchange.com/questions/41506/upgraded-joomla-civicrm-to-5-47-2-getting-deprecated-messages-on-system-status?
Comments.UserDisplayName: Mick Kahn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-18T15:40:09.157Z
Comments.Text: Possibly, he doesn't go into great detail there @MickKahn ... This is me testing out why it's not connecting with Google.
Comments.UserDisplayName: Vshura
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-18T15:40:49.243Z
Comments.Text: I'm also trying to set up OAuth for Google, but am running into problems there too - see this thread: https://civicrm.stackexchange.com/questions/41512/problem-setting-up-oauth-for-google
  
  If I can get that sorted, this thread might be no longer relevant.
Comments.UserDisplayName: Vshura
Tags: <wordpress><civimail><g-suite><bounce-processing>
Title: fetch_bounces Cron Problem
ThreadText: # fetch_bounces Cron Problem
  
  (Asked by: username_0 on 2022-03-18)
  
  I have been having errors with the authentication for CiviMail's fetch_bounces. The error on the log for fetch_bounces reads:
  Fetch Bounces   
  Entity: Job Action: fetch_bounces
  Summary
  Finished execution of Fetch Bounces with result: Failure, Error message: Could not connect to MailStore for return@****.org@imap.gmail.comError message: An error occured while sending or receiving mail. Could not selec (...)
  Details
  
  
  Parameters parsed (and passed to API method): 
  a:1:{s:7:"version";i:3;}
  
  Full message: 
  Finished execution of Fetch Bounces with result: Failure, Error message: Could not connect to MailStore for return@****.org@imap.gmail.com
  
  Error message: 
  
  An error occured while sending or receiving mail. Could not select mailbox 'CiviCRM': A0002 NO [NONEXISTENT] Unknown Mailbox: CiviCRM (Failure).
  
  When I look at the setup for the CiviCRM return account, I have the following setup:
  
  When I click 'Save and Test' I again get the message
  An error occured while sending or receiving mail. Could not select mailbox 'CiviCRM': A0002 NO [NONEXISTENT] Unknown Mailbox: CiviCRM (Failure). (See log for more details.)
  However, the email does exist on G-Suite and I am using an app password for a 2FA Google Account. This was working ok in the past. Any advice?
  I am using the most revent version of CiviCRM (5.47.2) on Wordpress.
  
  **Tags:** wordpress, civimail, g-suite, bounce-processing
  
  > **Comments:**
  > **username_1**: Is this the same as the first error in https://civicrm.stackexchange.com/questions/41506/upgraded-joomla-civicrm-to-5-47-2-getting-deprecated-messages-on-system-status?  
  > **username_0**: Possibly, he doesn't go into great detail there @MickKahn ... This is me testing out why it's not connecting with Google.  
  > **username_0**: I'm also trying to set up OAuth for Google, but am running into problems there too - see this thread: https://civicrm.stackexchange.com/questions/41512/problem-setting-up-oauth-for-google  If I can get that sorted, this thread might be no longer relevant.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-03-18. Score: 0
  
  Ah, I've figured it out. In the option for *Source*, it was set to *CiviCRM* but I'd not set up the corresponding email box in Gmail. When I deleted it, it worked.
  
  
  ---
  
  