Skip to main content
Answer

System Email Account for Gmail

  • November 20, 2024
  • 5 replies
  • 543 views

Forum|alt.badge.img

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. 
 

 

5 replies

jharris
Semi-Pro I
Forum|alt.badge.img+7
  • Semi-Pro I
  • November 26, 2024

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


Forum|alt.badge.img
  • Author
  • Semi-Pro III
  • December 4, 2024

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!

 


jharris
Semi-Pro I
Forum|alt.badge.img+7
  • Semi-Pro I
  • Answer
  • December 11, 2024

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. 
 

 


Forum|alt.badge.img
  • Author
  • Semi-Pro III
  • December 11, 2024

@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!


jharris
Semi-Pro I
Forum|alt.badge.img+7
  • Semi-Pro I
  • December 17, 2024

@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 :)