aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Mail
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-10 14:24:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-10 14:24:24 +0200
commit782a2df39290fed1b2f1aa921727c41815dcbe1e (patch)
treed9bf6e4a6db0d221f10a94946c6d7a5b1be02fc0 /lib/public/Mail
parent9c1ee2e0ba84e7ad1f707bdf6080ec3df1680040 (diff)
downloadnextcloud-server-782a2df39290fed1b2f1aa921727c41815dcbe1e.tar.gz
nextcloud-server-782a2df39290fed1b2f1aa921727c41815dcbe1e.zip
Add PHP doc for events
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/Mail')
-rw-r--r--lib/public/Mail/Events/BeforeMessageSent.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/Mail/Events/BeforeMessageSent.php b/lib/public/Mail/Events/BeforeMessageSent.php
index f9dc834c9b6..f11b2415148 100644
--- a/lib/public/Mail/Events/BeforeMessageSent.php
+++ b/lib/public/Mail/Events/BeforeMessageSent.php
@@ -30,6 +30,8 @@ use OCP\EventDispatcher\Event;
use OCP\Mail\IMessage;
/**
+ * Emitted before a system mail is sent. It can be used to alter the message.
+ *
* @since 19.0.0
*/
class BeforeMessageSent extends Event {