Various changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user