summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-24 13:48:27 +0200
committerJoas Schilling <coding@schilljs.com>2017-04-24 13:48:27 +0200
commit35414884d37f8dd4b589980956f92fd2c7f99474 (patch)
tree226bfe7122ff7d9c75e1048738588793b87e008d /lib/public
parent42e805f0578b95206fdddabfe6234b0880c27b1e (diff)
downloadnextcloud-server-35414884d37f8dd4b589980956f92fd2c7f99474.tar.gz
nextcloud-server-35414884d37f8dd4b589980956f92fd2c7f99474.zip
Add lists to HTML emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Mail/IEMailTemplate.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php
index 05e2fe92beb..d4010618b10 100644
--- a/lib/public/Mail/IEMailTemplate.php
+++ b/lib/public/Mail/IEMailTemplate.php
@@ -81,6 +81,16 @@ interface IEMailTemplate {
public function addBodyText($text, $plainText = '');
/**
+ * Adds a list item to the body of the email
+ *
+ * @param string $text
+ * @param string $plainText Text that is used in the plain text email
+ * if empty the $text is used
+ * @since 12.0.0
+ */
+ public function addBodyListItem($text, $plainText = '');
+
+ /**
* Adds a button group of two buttons to the body of the email
*
* @param string $textLeft Text of left button