aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Mail/IEMailTemplate.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-08-24 17:54:22 +0200
committerJoas Schilling <coding@schilljs.com>2017-08-24 17:54:22 +0200
commit09747b296ac48789bf636d230afd5e4499166838 (patch)
treea36750d64b7bf4ed0b95175a1e99267bffe18007 /lib/public/Mail/IEMailTemplate.php
parenta7f2dc6dd660179682f7d03ac8e07649b59cdd6f (diff)
downloadnextcloud-server-09747b296ac48789bf636d230afd5e4499166838.tar.gz
nextcloud-server-09747b296ac48789bf636d230afd5e4499166838.zip
Add meta information to emails for better customisation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Mail/IEMailTemplate.php')
-rw-r--r--lib/public/Mail/IEMailTemplate.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php
index 6d0591b019b..2ff4a486f75 100644
--- a/lib/public/Mail/IEMailTemplate.php
+++ b/lib/public/Mail/IEMailTemplate.php
@@ -52,6 +52,13 @@ namespace OCP\Mail;
*/
interface IEMailTemplate {
/**
+ * Set meta data of an email
+ *
+ * @since 12.0.3
+ */
+ public function setMetaData($emailId, array $data = []);
+
+ /**
* Adds a header to the email
*
* @since 12.0.0