Adding Smtp section in appsettings, registering IEmailSender as an email service and ofc the MailKit nuget in Infrastructure proj

This commit is contained in:
Elitsa Marinovska
2020-05-20 00:24:55 +02:00
parent ad31db9f4a
commit 16d805e6f5
3 changed files with 12 additions and 0 deletions

View File

@@ -116,6 +116,16 @@
"Replacement": ""
}
]
},
"Global": {
"Smtp": {
"From": "noreply@example.com",
"Host": "127.0.0.1",
"Port": 25,
"UserName": "username",
"Password": "password",
"DeliveryMethod": "network"
}
}
}
}