ISTech Support Forum
http://www.istechforum.com/YaBB.pl
Evo-ERP and DBA Classic >> System Manager >> Email settings for Google SMTP-Relay
http://www.istechforum.com/YaBB.pl?num=1455732829

Message started by AndyOB on 02/17/16 at 11:13:49

Title: Email settings for Google SMTP-Relay
Post by AndyOB on 02/17/16 at 11:13:49

Anyone have any luck using SMTP-Relay service through GMail?

We use Google for our domain email, but I can't get Evo to relay mail. Here's some of my settings as well as the error I get when I try to TestEmail.

(Settings) (https://drive.google.com/file/d/0B2vejp4fknKFZmQxc0RIemZCMVE/view?usp=sharing)

(Error) (https://drive.google.com/open?id=0B2vejp4fknKFZGtfbjEtT2RlWGM)

(Log File)

Code:
Error sending email: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbsd9
534-5.7.14 VSyeZogqT2lEf9yLD5CNtb62tbntaShjkSW0ToLUPWnt40M3qBP8CCpF-gEPBQObnZ1ssc
534-5.7.14 P5_YemB5EdsY7ooJySuA8YaDrcg7r4VZTWo2Z2QixBykv9xsPrsrJ8Q_mQwW_SN7MCCe5m
534-5.7.14 TdzkVJJgdUcAcKOwe0VByn-_Wt7J1O0L83thnxMMlyoV7lWX03h50DOOJmJ845-UfiU6GN
534-5.7.14 WeuNzHnWBboYJdgu8cz2SoowXAco> Please log in via your web browser and
534-5.7.14 then try again.
534-5.7.14  Learn more at
534 5.7.14  https://support.google.com/mail/answer/78754 kr3sm2668057igb.1 - gsmtp


javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbsd9
534-5.7.14 VSyeZogqT2lEf9yLD5CNtb62tbntaShjkSW0ToLUPWnt40M3qBP8CCpF-gEPBQObnZ1ssc
534-5.7.14 P5_YemB5EdsY7ooJySuA8YaDrcg7r4VZTWo2Z2QixBykv9xsPrsrJ8Q_mQwW_SN7MCCe5m
534-5.7.14 TdzkVJJgdUcAcKOwe0VByn-_Wt7J1O0L83thnxMMlyoV7lWX03h50DOOJmJ845-UfiU6GN
534-5.7.14 WeuNzHnWBboYJdgu8cz2SoowXAco> Please log in via your web browser and
534-5.7.14 then try again.
534-5.7.14  Learn more at
534 5.7.14  https://support.google.com/mail/answer/78754 kr3sm2668057igb.1 - gsmtp

     at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:893)
     at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:814)
     at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:728)
     at javax.mail.Service.connect(Service.java:364)
     at com.evoerp.mail.SmtpClient.<init>(SmtpClient.java:71)
     at com.evoerp.smtpclient.main.Main.sendMail(Main.java:139)
     at com.evoerp.smtpclient.main.Main.main(Main.java:287)


When I get this error Google sends an email to me notifying me that:


Quote:
Someone just tried to sign in to your Google Account andy@nortra-cables.com from an app that doesn't meet modern security standards.
Details:
Wednesday, February 17, 2016 9:32 AM (Pacific Standard Time)
Milpitas, CA, USA*
We strongly recommend that you use a secure app, like Gmail, to access your account. All apps made by Google meet these security standards. Using a less secure app, on the other hand, could leave your account vulnerable. Learn more.

Google stopped this sign-in attempt, but you should review your recently used devices:


I don't know if there's some limitation of Evo's sendmail routine, or if it's just so old that Google is not going to let it operate?

I should add that my password has spaces (some programs don't like this), and gmail requires SMTP Auth + TLS encryption in order to relay email.


Title: Re: Email settings for Google SMTP-Relay
Post by Lynn_Pantic on 02/17/16 at 13:49:50

Are you using the latest version of the Evo email that has the security capability?  You need to be on 2015.2 with all patches downloaded (SM-V)

Title: Re: Email settings for Google SMTP-Relay
Post by BurrKing_Mfg on 02/18/16 at 07:49:10

I'm not 100% sure on this one, but we use an instant messenger program in the office called Pidgin and in order to use that program we had to make some changes to the google email accounts.

security.google.com   -----> then look for a option to "allow less secure apps"

We made the switch here to using our gmail accounts, works well except for the legacy programs that are not working with the new EVO mail.  RMA and sending statements are coming to mind as not working.

But it is progress.   Hope that helps you

Title: Re: Email settings for Google SMTP-Relay
Post by DawnS on 02/18/16 at 08:07:18

We have had success with Microsoft SMTP after applying the patches provided and changing port setting.

Title: Re: Email settings for Google SMTP-Relay
Post by BurrKing_Mfg on 02/18/16 at 08:56:31

Dawn,

How are you able to email customer statements using the new EVO mail?

Title: Re: Email settings for Google SMTP-Relay
Post by Lynn_Pantic on 02/18/16 at 09:31:01

Make sure the menu is calling T7ARE.RWN for statements, that should work with the new Evo email.  

Title: Re: Email settings for Google SMTP-Relay
Post by BurrKing_Mfg on 02/18/16 at 15:13:01

You are correct Lynn!  I updated the user menu and it works perfectly !

Thanks

(now to get RMA's going)

ISTech Support Forum » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.