Update PostmarkDispatcher.cs

This commit is contained in:
2026-04-22 15:31:38 +02:00
parent 4942d7d59e
commit 2117d0b05b
+1 -1
View File
@@ -112,7 +112,7 @@ public class PostmarkDispatcher : IMailDispatcher
}
// overwrite for debug mode
if (Options.Debug || (Env != null && Env.IsDevelopment()))
if (Options.Debug || (Env != null && !Env.IsProduction()))
{
data.From = "noreply@post.swcs.pro";