DEV Community

Discussion on: How to send emails with Python? Simply explained for beginners

Collapse
 
aahnik profile image
Aahnik Daw • Edited

a very good question. i think you are the first one to ask.

use an app password, instead of your actual password

support.google.com/accounts/answer...

create an app password, with any name (lets say "email app"), and use the code given by google instead of your real password

Collapse
 
ironcladdev profile image
Conner Ow

I've done that.