Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion EmailApp/EmailApp/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@
"SmtpServer": "smtp.gmail.com",
"Port": 465,
"Username": "codemazetest@gmail.com",
"Password": "password for your email"
"Password": "generated password"
// After the May 30, 2022, Google no longer supports the use of third-party apps like Mailkit
// so you should generate a specific password for your app.

//step 1 :Enable two-step verification (2SV) for your Google account. This step is required as Google only allows
// generating passwords for apps on accounts that have 2 Step Verification enabled.
//step 2 :Go to generate apps password (https://myaccount.google.com/apppasswords) and generate a password for your app.
// app :'Mail'
// device:'other'
// name : 'Mailkit'
},
"AllowedHosts": "*"
}