From 09747b296ac48789bf636d230afd5e4499166838 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 24 Aug 2017 17:54:22 +0200 Subject: Add meta information to emails for better customisation Signed-off-by: Joas Schilling --- lib/public/Mail/IEMailTemplate.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/public/Mail') 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 @@ -51,6 +51,13 @@ namespace OCP\Mail; * @since 12.0.0 */ interface IEMailTemplate { + /** + * Set meta data of an email + * + * @since 12.0.3 + */ + public function setMetaData($emailId, array $data = []); + /** * Adds a header to the email * -- cgit v1.2.3