Loading...
 
Features / Usability

Features / Usability


Re: Notification mail with doubled newline

posts: 1539 Canada

Hi Wulle!

From memory, there is the same bug with newsletters and with wiki page change notifications.

The bug appears in some mail clients (ex.: IMP webmail and gmail) but not others (Thunderbird). I am using Linux servers.

I have a temporary fix in notificationemaillib.php

< $smarty->assign_by_ref('mail_pagedata', $edit_data);


> $smarty->assign_by_ref('mail_pagedata', str_replace "\r\n", "\n", $edit_data));


I didn't commit because I am prety sure it is not a good way to solve this problem.

There is a "Mail end of line:" setting in tiki-admin.php?page=general which is supposed to help here but it hasn't worked for me.

I have noticed the same problems with text emails sent by phplist, therefore I think it is a bug in the email transfer class:
http://www.phpguru.org/static/mime.mail.html

Maybe we should upgrade to the latest version?

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.