summaryrefslogtreecommitdiffstats
path: root/lib/private/Mail
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-04-12 12:43:55 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-04-12 17:16:27 +0200
commit0a464dfb61a485a1340ecc9279e0db262154f059 (patch)
treebe074f214389a9a278ae10ab30f3af3a2bcc7eee /lib/private/Mail
parent1c8c62272c6862405c435e015c107b1767e43b9b (diff)
downloadnextcloud-server-0a464dfb61a485a1340ecc9279e0db262154f059.tar.gz
nextcloud-server-0a464dfb61a485a1340ecc9279e0db262154f059.zip
make the plain text footer standard compliant and add a space after '--'. It also adds a line break in front so that there is some spacing between the mail body and the footer
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Mail')
-rw-r--r--lib/private/Mail/EMailTemplate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php
index dd5cf605c99..b0378496d9e 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -461,7 +461,7 @@ EOF;
$this->htmlBody .= vsprintf($this->footer, [$text]);
$this->htmlBody .= $this->tail;
- $this->plainBody .= '--' . PHP_EOL;
+ $this->plainBody .= PHP_EOL . '-- ' . PHP_EOL;
$this->plainBody .= str_replace('<br>', PHP_EOL, $text);
}