diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-08-04 16:05:09 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-08-04 16:05:09 +0200 |
commit | c1b8d93cb045d008a2fa1008320903492c6d5e64 (patch) | |
tree | e853a0a1119fff48a887fd56f577cd446ab2f70c /lib/private/mail.php | |
parent | 65903a012a05d012b463d944594afa0104386426 (diff) | |
download | nextcloud-server-c1b8d93cb045d008a2fa1008320903492c6d5e64.tar.gz nextcloud-server-c1b8d93cb045d008a2fa1008320903492c6d5e64.zip |
Increase word wrap limit for emails to 78 characters
Diffstat (limited to 'lib/private/mail.php')
-rw-r--r-- | lib/private/mail.php | 10 |
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{ |