diff --git a/EmailApp/EmailApp/appsettings.json b/EmailApp/EmailApp/appsettings.json index c49367b..e591432 100644 --- a/EmailApp/EmailApp/appsettings.json +++ b/EmailApp/EmailApp/appsettings.json @@ -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": "*" }