We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6546e9 commit 04c77b6Copy full SHA for 04c77b6
src/Emailing/README.md
@@ -131,6 +131,12 @@ services.AddEmailing(options =>
131
});
132
```
133
134
+> **Important:**
135
+> The `AddEmailing()` method registers a scoped implementation of `IEmailManager`.
136
+> This is required because email templates (for example Razor-based templates) may depend on scoped services
137
+> that are tied to the currently authenticated user.
138
+> As a consequence, every service that depends on `IEmailManager` must also be registered with a scoped lifetime.
139
+
140
The `AddEmailing()` method returns an `EmailingBuilder` that can be used to continue configuring the emailing infrastructure
141
(for example, provider registration in other packages).
142
0 commit comments