This commit is contained in:
2020-07-22 00:12:03 +00:00
parent 662af797e1
commit f9f55c95d7
3 changed files with 61 additions and 1 deletions

View File

@@ -170,6 +170,9 @@ namespace AyaNova.Biz
public static async Task<string> TestSMTPDelivery(string toAddress)
{
//DO TEST DELIVERY HERE USING EXACT SAME SETTINGS AS FOR DeliverSMTP above
//todo: abstract out email sending to it's own class maybe or whatever method I choose supports the best
//https://jasonwatmore.com/post/2020/07/15/aspnet-core-3-send-emails-via-smtp-with-mailkit
//https://medium.com/@ffimnsr/sending-email-using-mailkit-in-asp-net-core-web-api-71b946380442
return "ok";
}