Increase word wrap limit for emails to 78 characters
This commit is contained in:
parent
65903a012a
commit
c1b8d93cb0
|
@ -74,16 +74,16 @@ class OC_Mail {
|
||||||
$toaddress = self::buildAsciiEmail($toaddress);
|
$toaddress = self::buildAsciiEmail($toaddress);
|
||||||
$mailo->AddAddress($toaddress, $toname);
|
$mailo->AddAddress($toaddress, $toname);
|
||||||
|
|
||||||
if($ccaddress<>'') $mailo->AddCC($ccaddress, $ccname);
|
if($ccaddress != '') $mailo->AddCC($ccaddress, $ccname);
|
||||||
if($bcc<>'') $mailo->AddBCC($bcc);
|
if($bcc != '') $mailo->AddBCC($bcc);
|
||||||
|
|
||||||
$mailo->AddReplyTo($fromaddress, $fromname);
|
$mailo->AddReplyTo($fromaddress, $fromname);
|
||||||
|
|
||||||
$mailo->WordWrap = 50;
|
$mailo->WordWrap = 78;
|
||||||
if($html==1) $mailo->IsHTML(true); else $mailo->IsHTML(false);
|
$mailo->IsHTML($html == 1);
|
||||||
|
|
||||||
$mailo->Subject = $subject;
|
$mailo->Subject = $subject;
|
||||||
if($altbody=='') {
|
if($altbody == '') {
|
||||||
$mailo->Body = $mailtext.OC_MAIL::getfooter();
|
$mailo->Body = $mailtext.OC_MAIL::getfooter();
|
||||||
$mailo->AltBody = '';
|
$mailo->AltBody = '';
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue