[local] feat: add "null" SMTP transport mode#49294
Merged
4 commits merged intomasterfrom Nov 19, 2024
Merged
Conversation
7ce032f to
2e2edcf
Compare
Currently $this->instance is never set, so the code is no-op. This brings back caching of the instance. Caching broke with be7db15 Swift to \Swift_Mailer as abstraction Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
The IDE hinted the value is immediately overwritten. Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
== Goal Allow disabling mail delivery altogether. == Usecase If mails ought to be send by other means than rendering messages from templates and sending them via SMTP-like protocols. Example: listening to specific Nextcloud events and pass parameters to a centralized (i.e. REST-based) API that sends e-mails. Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
When the mail transport is configured as null transport, the configuration UI would not work. == Background The null transport is meant for situations where operators implement mail delivery via custom mechanisms like REST APIs. Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2e2edcf to
3f6c969
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Local copy of #48977 for CI