mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: remove recipient information from warning log when email settings are incomplete
This commit is contained in:
@@ -23,7 +23,7 @@ namespace SharpbinV3.Server.Services
|
|||||||
|| string.IsNullOrWhiteSpace(settings.From)
|
|| string.IsNullOrWhiteSpace(settings.From)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
logger.LogWarning($"Email settings are not fully configured. Skipping sending email to {to}");
|
logger.LogWarning($"Email settings are not fully configured.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var email = new QueuedEmail(to, subject, body);
|
var email = new QueuedEmail(to, subject, body);
|
||||||
|
|||||||
Reference in New Issue
Block a user