Skip to main content
Solved

System Email Account for Gmail

  • Nov 20, 2024 8:17 PM UTC
  • 5 replies
  • 875 views
  • Translate All

Forum|alt.badge.img+4

Hello! Is there a proper way for setting up Gmail as system email account in Acumatica? 

I followed the instruction here Using Gmail With Acumatica and read through this solved post Gmail setup issue | Community but was still unable to test connection successfully. We mainly want to be using this to process incoming documents for the AP document recognition service. 

 

 

 

Thank you!!

Best answer by jharris

Hi ​@jamesh I was able to set up the email account with OAuth, however I received the below error message. Are you familar with this? Does it have to do with my server port? Thanks!

 

​@jzhu, 

 

Perhaps try it without encryption? You’ll need to use the unencrypted port numbers as well. 
 

 

View original

5 replies

jharris
Semi-Pro I
Forum|alt.badge.img+8
  • Semi-Pro I
  • Nov 26, 2024 5:33 PM UTC

Hi ​@jzhu ,

 

Basic authentication is no longer supported for Gmail, and the AUG Forums post from 2019 is unfortunately, outdated.  You’ll need to use Google Workspace or Gmail account using Modern Authentication (OAuth 2.0). Google ended the support of the use of third-party apps or devices that ask users to sign in using only the username and password of their Google Accounts starting from May 30, 2022. This affected all users that use Google Workspace and Gmail accounts for sending and receiving emails via IMAP, POP3, and SMTP protocols.

 

Workaround:

 

Option 1

 

Step 1: Turn on 2-Step Verification for your Google account. For instructions, refer to the Turn on 2-Step Verification help article in the Google Account Help portal.

Step 2: Create an app password. For instructions, refer to the Create & use App Passwords section of the Sign in with App Passwords help article in the Google Account Help portal.

Step 3: In Acumatica ERP, use the 16-character code received during Step 2 as the password for your email account on the System Email Account (SM204002) form.

 

Option 2

 

Set up Modern Authentication with OAuth 2.0:

I hope this helps!

-James

Translate

Forum|alt.badge.img+4
  • Author
  • Captain II
  • Dec 4, 2024 9:50 PM UTC

Hi ​@jamesh I was able to set up the email account with OAuth, however I received the below error message. Are you familar with this? Does it have to do with my server port? Thanks!

 

Translate

jharris
Semi-Pro I
Forum|alt.badge.img+8
  • Semi-Pro I
  • Answer
  • Dec 11, 2024 4:36 PM UTC

Hi ​@jamesh I was able to set up the email account with OAuth, however I received the below error message. Are you familar with this? Does it have to do with my server port? Thanks!

 

​@jzhu, 

 

Perhaps try it without encryption? You’ll need to use the unencrypted port numbers as well. 
 

 

Translate

Forum|alt.badge.img+4
  • Author
  • Captain II
  • Dec 11, 2024 4:57 PM UTC

​@jamesh Thank you, that was the issue. I checked the Encrypt Connection check box. But I did keep the port numbers and was still able to test without errors. 

Can you explain to me the difference between the server ports and usually where these port numbers can be found? Is it possible to test successfully even with incorrect ports? Thanks!

Translate

jharris
Semi-Pro I
Forum|alt.badge.img+8
  • Semi-Pro I
  • Dec 17, 2024 6:24 PM UTC

​@jamesh Thank you, that was the issue. I checked the Encrypt Connection check box. But I did keep the port numbers and was still able to test without errors. 

Can you explain to me the difference between the server ports and usually where these port numbers can be found? Is it possible to test successfully even with incorrect ports? Thanks!

The port numbers are based on the email protocol (typically), and/or the server running the email connection.  You’d need to look up the port requirements from the email providers. 

Glad it’s working for you now :) 

Translate