SMTP config Gmail

Post Reply
diguimfodera
Newbie
Posts: 16
Joined: Thu Jan 21, 2016 1:34 am

SMTP config Gmail

Post by diguimfodera »

Hi, last week I lost the switch config files because of hackes... so I need configurate the smtp for send emails but I had some problems.
My host for email is the gmail.com (google workspace)

Current Configuration:

smtp server: smtp.gmail.com
SMTP port: 465
SMTP requires autentication: Yes
User name: sistema.futura@futuraexpress.com.br
password: ******
Use password configuration: Yes

Encrypt conection: Yes
Sender Name: Futura Express
Sender email address: sitema.futura@futuraexpress.com.br

When I do "Test Connection" the result is "ok". but when the flow try send an email, an error occurs and does not send.
LOG ERROR:
SMTP protocol error. 530 5.7.0 https://support.google.com/mail/?p=WantAuthError s126-20020a1ff484000000b00375ecb78541sm9549011vkh.12 - gsmtp.

I don't know if I configured it correctly. May some one help me?
Thank you!!
User avatar
Egon
Newbie
Posts: 16
Joined: Fri Sep 23, 2022 1:14 pm
Location: Arnhem
Contact:

Re: SMTP config Gmail

Post by Egon »

HI diguimfodera,

I had a similar problem setting up a Gmail account in Switch.
My solution was to create an App password in my Google Account and use this password!

So log in to your Google Account go to Security then to Logging in to Google and then choose App passwords.

Hop this helps and I am not too late! :D
Enfocus Pitstop Pro | Enfocus Pitstop Server | Enfocus Switch | ArtiosCad | Workflow Designer
Linkedin | GraphicWorld bv.
ibeg21
Newbie
Posts: 5
Joined: Sun Nov 06, 2022 8:16 pm

Re: SMTP config Gmail

Post by ibeg21 »

Unfortunately this no longer works "App password",
can someone recommend another email or gmail settings
Padawan
Advanced member
Posts: 358
Joined: Mon Jun 12, 2017 8:48 pm
Location: Belgium
Contact:

Re: SMTP config Gmail

Post by Padawan »

If you have a mail send element, then you can use this app:
https://www.enfocus.com/en/appstore/product/mail-auth20

However, that won't work for Switch alert mails.In that case you can use a service like https://www.mailjet.com/. You can link your email address to mailjet and then use the mailjet smtp server to impersonate your gmail address. Mails sent this way do have a higher chance to end up in spam. If it is only for alert mails that you only need the mailjet free tier.
ibeg21
Newbie
Posts: 5
Joined: Sun Nov 06, 2022 8:16 pm

Re: SMTP config Gmail

Post by ibeg21 »

Thanks for tip, I will try.


We use microsoft exchange and for send Mail with OAuth 2.0, everything works, but for Receive emails using OAuth 2.0 authentication does not work, i try with https://www.mailjet.com/
Padawan
Advanced member
Posts: 358
Joined: Mon Jun 12, 2017 8:48 pm
Location: Belgium
Contact:

Re: SMTP config Gmail

Post by Padawan »

Mailjet will only allow you to send mails. (I assumed you only needed sending since you talked about SMTP which is only sending)

If the oauth app doesn't work for receiving mails with gmail, then I would suggest to contact Enfocus support to have it investigated.
Post Reply