summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-18 11:56:25 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-08 12:21:41 +0100
commitb3550db02dd24eb435789991a95db7ddb053fd5b (patch)
tree2b5b37657dd090d26efffe7678404156b9a320e1 /lib
parent2c76b77c763a97660416cde1d04059e3975436b9 (diff)
downloadnextcloud-server-b3550db02dd24eb435789991a95db7ddb053fd5b.tar.gz
nextcloud-server-b3550db02dd24eb435789991a95db7ddb053fd5b.zip
Adding IMip scheduling which uses ownClouds mail delivery
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mail/message.php10
1 files changed, 10 insertions, 0 deletions
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;
+ }
}