diff options
Diffstat (limited to 'lib/public/Mail/IEMailTemplate.php')
-rw-r--r-- | lib/public/Mail/IEMailTemplate.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php index 04a3905c2e3..c1766076c44 100644 --- a/lib/public/Mail/IEMailTemplate.php +++ b/lib/public/Mail/IEMailTemplate.php @@ -53,6 +53,15 @@ namespace OCP\Mail; interface IEMailTemplate { /** + * Sets the subject of the email + * + * @param string $subject + * + * @since 13.0.0 + */ + public function setSubject($subject); + + /** * Adds a header to the email * * @since 12.0.0 @@ -131,6 +140,15 @@ interface IEMailTemplate { public function addFooter($text = ''); /** + * Returns the rendered email subject as string + * + * @return string + * + * @since 13.0.0 + */ + public function renderSubject(); + + /** * Returns the rendered HTML email as string * * @return string |