diff --git a/Finch/Mails/PostmarkDispatcher.cs b/Finch/Mails/PostmarkDispatcher.cs index 908b59e9..2ed70470 100644 --- a/Finch/Mails/PostmarkDispatcher.cs +++ b/Finch/Mails/PostmarkDispatcher.cs @@ -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";