summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-05 08:20:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-05 08:20:57 +0200
commitc0e78d984140ecd6a49ac615214b4a68fab0557e (patch)
treebbb6564e142316fe7727117ad77bf77585ba930a /lib
parent5ecbc277531b47c16a2b87c192c346ade1fcdad9 (diff)
parentc1b8d93cb045d008a2fa1008320903492c6d5e64 (diff)
downloadnextcloud-server-c0e78d984140ecd6a49ac615214b4a68fab0557e.tar.gz
nextcloud-server-c0e78d984140ecd6a49ac615214b4a68fab0557e.zip
Merge pull request #10151 from owncloud/issue/9912
Increase word wrap limit for emails to 78 characters
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mail.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/mail.php b/lib/private/mail.php
index 81bcb3d8deb..82107c32dc7 100644
--- a/lib/private/mail.php
+++ b/lib/private/mail.php
@@ -74,16 +74,16 @@ class OC_Mail {
$toaddress = self::buildAsciiEmail($toaddress);
$mailo->AddAddress($toaddress, $toname);
- if($ccaddress<>'') $mailo->AddCC($ccaddress, $ccname);
- if($bcc<>'') $mailo->AddBCC($bcc);
+ if($ccaddress != '') $mailo->AddCC($ccaddress, $ccname);
+ if($bcc != '') $mailo->AddBCC($bcc);
$mailo->AddReplyTo($fromaddress, $fromname);
- $mailo->WordWrap = 50;
- if($html==1) $mailo->IsHTML(true); else $mailo->IsHTML(false);
+ $mailo->WordWrap = 78;
+ $mailo->IsHTML($html == 1);
$mailo->Subject = $subject;
- if($altbody=='') {
+ if($altbody == '') {
$mailo->Body = $mailtext.OC_MAIL::getfooter();
$mailo->AltBody = '';
}else{