diff --git a/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs b/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs index 3d73300..3ac4c11 100644 --- a/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs +++ b/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs @@ -85,20 +85,6 @@ namespace VeterinaryClinicBusinessLogics.MailWorker { return; } - if (string.IsNullOrEmpty(info.MailAddress)) - { - _logger.LogWarning("MailAddress is null or empty"); - } - - if (string.IsNullOrEmpty(info.Subject)) - { - _logger.LogWarning("Subject is null or empty"); - } - - if (string.IsNullOrEmpty(info.Path)) - { - _logger.LogWarning("Path is null or empty"); - } if (string.IsNullOrEmpty(info.MailAddress) || string.IsNullOrEmpty(info.Subject) || string.IsNullOrEmpty(info.Path)) { return;