diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-08 17:58:33 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-08 17:58:33 +0100 |
commit | 0f281cdd30d5efddcb19389a4ea1917604238044 (patch) | |
tree | 6989e3a6bdc2ed2752705fd9b4c3253d5814d156 /lib | |
parent | eba46f5d2e13ed3ba127ad9bc4f14a81df49b8d5 (diff) | |
parent | b3550db02dd24eb435789991a95db7ddb053fd5b (diff) | |
download | nextcloud-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.php | 10 |
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; + } } |