From b3550db02dd24eb435789991a95db7ddb053fd5b Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Fri, 18 Dec 2015 11:56:25 +0100 Subject: Adding IMip scheduling which uses ownClouds mail delivery --- lib/private/mail/message.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib') diff --git a/lib/private/mail/message.php b/lib/private/mail/message.php index 0fdca49e6d6..98a95e4e583 100644 --- a/lib/private/mail/message.php +++ b/lib/private/mail/message.php @@ -238,4 +238,14 @@ class Message { public function getSwiftMessage() { return $this->swiftMessage; } + + /** + * @param string $body + * @param string $contentType + * @return $this + */ + public function setBody($body, $contentType) { + $this->swiftMessage->setBody($body, $contentType); + return $this; + } } -- cgit v1.2.3