diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-04-26 08:30:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 08:30:30 +0200 |
commit | 7386bea23fc7bb95ec4073a33abc9069b587581e (patch) | |
tree | fbd13ddaec706329bcc05ba20c83c1cdee410006 /lib/public/Mail/IEMailTemplate.php | |
parent | 752b219970bdcbea390dce3500a60fd87e1bbecc (diff) | |
parent | f1ffb728b9908e4981e6d7cf0fc7b4742ffbd880 (diff) | |
download | nextcloud-server-7386bea23fc7bb95ec4073a33abc9069b587581e.tar.gz nextcloud-server-7386bea23fc7bb95ec4073a33abc9069b587581e.zip |
Merge pull request #4467 from nextcloud/lists-for-html-mails
Add lists to HTML emails
Diffstat (limited to 'lib/public/Mail/IEMailTemplate.php')
-rw-r--r-- | lib/public/Mail/IEMailTemplate.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php index 05e2fe92beb..6df83b4d10e 100644 --- a/lib/public/Mail/IEMailTemplate.php +++ b/lib/public/Mail/IEMailTemplate.php @@ -81,6 +81,20 @@ interface IEMailTemplate { public function addBodyText($text, $plainText = ''); /** + * Adds a list item to the body of the email + * + * @param string $text + * @param string $metaInfo + * @param string $icon Absolute path, must be 16*16 pixels + * @param string $plainText Text that is used in the plain text email + * if empty the $text is used, if false none will be used + * @param string $plainMetaInfo Meta info that is used in the plain text email + * if empty the $metaInfo is used, if false none will be used + * @since 12.0.0 + */ + public function addBodyListItem($text, $metaInfo = '', $icon = '', $plainText = '', $plainMetaInfo = ''); + + /** * Adds a button group of two buttons to the body of the email * * @param string $textLeft Text of left button |