put in all change
This commit is contained in:
@@ -9,6 +9,7 @@ namespace FamilyTreeAPI.Repository
|
||||
{
|
||||
if (string.IsNullOrEmpty(smtpServer) && string.IsNullOrEmpty(sender) && string.IsNullOrEmpty(sendTo))
|
||||
return;
|
||||
|
||||
System.Net.Mail.SmtpClient client = new SmtpClient(smtpServer);
|
||||
MailMessage mailMessage = new MailMessage();
|
||||
mailMessage.From = new MailAddress(sender);
|
||||
|
||||
Reference in New Issue
Block a user