cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zsgugli
New Member

Send email action through Gmail SMTP

Hi,

 

I think I set the action up correctly, it only fails because Gmail would require a 2FA for the first-time use.

 

When I run the Workflow, it only throws an error and does not prompt me to pass the authentication.

 

Is there a way to set this up?

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @zsgugli ,

 

Please try:

 

1\Turn on IMAP

vbofengmsft_0-1667181258231.png

 

2\Turn on 2-Step Verification and create your app password

  1. Open your Google Account.
  2. In the navigation panel, select Security.
  3. Under “Signing in to Google,” select 2-Step Verification 
  4. Create your own app password

 

3\Create a new SMTP connection

  • SMTP Server Address :   smtp.gmail.com
  • User Name:                     XXXX@gmail.com
  • Password:                       Your APP Password
  • SMTP Server Port:           587
  • Enable SSL:                      Yes

 

 

Best Regards,

Bof

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @zsgugli ,

 

Please try:

 

1\Turn on IMAP

vbofengmsft_0-1667181258231.png

 

2\Turn on 2-Step Verification and create your app password

  1. Open your Google Account.
  2. In the navigation panel, select Security.
  3. Under “Signing in to Google,” select 2-Step Verification 
  4. Create your own app password

 

3\Create a new SMTP connection

  • SMTP Server Address :   smtp.gmail.com
  • User Name:                     XXXX@gmail.com
  • Password:                       Your APP Password
  • SMTP Server Port:           587
  • Enable SSL:                      Yes

 

 

Best Regards,

Bof

Small correction,

 

2\Turn on 2-Step Verification and create your app password

  1. Open your Google Account.
  2. In the navigation panel, select Security.
  3. Under “Signing in to Google” section, select App passwords
  4. Create your own app password

 

Thank you,

Alex

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,683)