]> source.dussan.org Git - nextcloud-server.git/commit
feat(Mailer): add "null" SMTP transport mode
authorThomas Lehmann <t.lehmann@strato.de>
Tue, 29 Oct 2024 10:53:18 +0000 (11:53 +0100)
committerThomas Lehmann <147605810+thlehmann-ionos@users.noreply.github.com>
Tue, 19 Nov 2024 10:32:39 +0000 (11:32 +0100)
commite4c013d86d0802865aa2bac8fdda354cd2642788
tree0495717c88f55f1cc7f00789ef3ca91b001ce813
parent40211f3d0748983c294dcfffa56f4022bd69d28e
feat(Mailer): add "null" SMTP transport mode

== 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>
config/config.sample.php
lib/private/Mail/Mailer.php
tests/lib/Mail/MailerTest.php