remove Google validation of the adress, and give email sending status

This commit is contained in:
Paul Schneider 2018-11-19 17:39:03 +01:00
commit 0f38aa6024
4 changed files with 47 additions and 108 deletions

View file

@ -64,6 +64,7 @@ namespace Yavsc.Services
SecureSocketOptions.None);
await sc.SendAsync(msg);
model.MessageId = msg.MessageId;
model.Sent = true; // a duplicate info to remove from the view model, that equals to MessageId == null
}
}
catch (Exception ex)
@ -76,4 +77,4 @@ namespace Yavsc.Services
}
}
}
}