Various changes

This commit is contained in:
2021-07-31 11:10:33 -04:00
parent 962ad3383f
commit fb6dbdfaa7
8 changed files with 42 additions and 36 deletions

View File

@@ -39,7 +39,7 @@ namespace PartSource.Automation.Services
mailMessage.To.Add(address);
}
smtpClient.Send(mailMessage);
// smtpClient.Send(mailMessage);
}
public void Send(string to, string subject, string body)
@@ -62,7 +62,7 @@ namespace PartSource.Automation.Services
mailMessage.To.Add(to);
}
smtpClient.Send(mailMessage);
// smtpClient.Send(mailMessage);
}
}
}

View File

@@ -86,6 +86,7 @@ namespace PartSource.Automation.Services
connection.Open();
using SqlCommand command = new SqlCommand($"exec CreateFitmentTable @tableName = '{tableName}'", connection);
command.CommandTimeout = 1800;
command.ExecuteNonQuery();
}