diff options
Diffstat (limited to 'lib/private/mail')
-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; + } } |