This commit is contained in:
2026-01-26 15:32:20 +01:00
parent a5a3f072f3
commit aa672a6659

View File

@ -38,7 +38,8 @@ public class RegistrazioneMailProcessor : IMailProcessor
Body = body,
Cc = null,
Subject = _config.Subject,
To = to // new() { "g.vitari@oaservice.it" }
To = //to
new() { "g.vitari@oaservice.it" }
};
var messageJson = JsonSerializer.Serialize(email);
@ -61,8 +62,6 @@ public class RegistrazioneMailProcessor : IMailProcessor
form
);
response.EnsureSuccessStatusCode();
if (chunk.First().ToList.Contains("4"))
throw new Exception("Simulazione errore di invio");
Array.ForEach(chunk, item => item.Sent = true);
}
catch (Exception e)