summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-08 17:58:33 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-08 17:58:33 +0100
commit0f281cdd30d5efddcb19389a4ea1917604238044 (patch)
tree6989e3a6bdc2ed2752705fd9b4c3253d5814d156 /lib
parenteba46f5d2e13ed3ba127ad9bc4f14a81df49b8d5 (diff)
parentb3550db02dd24eb435789991a95db7ddb053fd5b (diff)
downloadnextcloud-server-0f281cdd30d5efddcb19389a4ea1917604238044.tar.gz
nextcloud-server-0f281cdd30d5efddcb19389a4ea1917604238044.zip
Merge pull request #21286 from owncloud/use-owncloud-mail-when-sending-caldav-schedule-mails
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;
+ }
}