-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
# Send-Email-Python | ||
## Send-Email-Python | ||
Script For Sending Emails Using Python, you can Integrate it with your (Flask,Django,Fast API) Projects | ||
|
||
# Create & use app passwords | ||
## Create & use app passwords | ||
Important: To create an app password, you need 2-Step Verification on your Google Account. | ||
|
||
If you use 2-Step-Verification and get a "password incorrect" error when you sign in, you can try to use an app password. | ||
|
||
### Go to your Google Account. | ||
### Select Security. | ||
### Under "Signing in to Google," select 2-Step Verification. | ||
### At the bottom of the page, select App passwords. | ||
### Enter a name that helps you remember where you’ll use the app password. | ||
### Select Generate. | ||
### To enter the app password, follow the instructions on your screen. The app password is the 16-character code that generates on your device. | ||
### Select Done. | ||
|
||
#### > Go to your Google Account. | ||
#### > Select Security. | ||
#### > Under "Signing in to Google," select 2-Step Verification. | ||
#### > At the bottom of the page, select App passwords. | ||
#### > Enter a name that helps you remember where you’ll use the app password. | ||
#### > Select Generate. | ||
#### > To enter the app password, follow the instructions on your screen. The app password is the 16-character code that generates on your device. | ||
#### > Select Done. | ||
If you’ve set up 2-Step Verification but can’t find the option to add an app password, it might be because: | ||
|
||
Your Google Account has 2-Step Verification set up only for security keys. | ||
You’re logged into a work, school, or another organization account. | ||
Your Google Account has Advanced Protection. | ||
|
||
# Replace The Generated Password on email_password variable | ||
## Replace The Generated Password on email_password variable | ||
```email_password = "generate password"``` | ||
|
||
# Replace The email_sender With your Actual Account | ||
## Replace The email_sender With your Actual Account | ||
replace it with the actual account you used to generate the app password | ||
|
||
# Replace The email_receiver With the Account you want to send Email To: | ||
### use https://temp-mail.org/en/ To Get a Temporary Email (Testing): | ||
## Replace The email_receiver With the Account you want to send Email To: | ||
### > use https://temp-mail.org/en/ To Get a Temporary Email (Testing): | ||
|
||
# Run Your Project | ||
## Run Your Project |