See ChangeLog.

Monotone-Parent: 1f900dd9f1637dad2237767e5a65271c06b27df0
Monotone-Revision: 9460deffbf939afae0a607ea07e015924c93fd01

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-12-12T16:39:56
maint-2.0.2
Francis Lachapelle 2011-12-12 16:39:56 +00:00
parent c22167ba87
commit 5564a8a84b
3 changed files with 16 additions and 5 deletions

View File

@ -1,5 +1,9 @@
2011-12-12 Francis Lachapelle <flachapelle@inverse.ca>
* Tools/SOGoEAlarmsNotifier.m
(-_sendMessageWithHeaders:content:toAttendee:from:withMailer:):
encode sender and recipient addresses in quoted printatble.
* SoObjects/Contacts/SOGoContactGCSFolder.m
(-fixupContactRecord:): fallback on organization name when the
contact has no display name, no firstname, and no lastname.

3
NEWS
View File

@ -6,13 +6,14 @@ New Features
Enhancements
- contacts from the email editor now appear in a pane, like in Thunderbird
- improved display of contacts in Address Book module
- added DanishDenmark translation - thanks to Altibox
- updated German translation
- updated SpanishArgentina translation
- updated SpanishSpain translation
Bug Fixes
-
- fixed encoding of headers in sogo-ealarm-notify
1.3-20111130 (1.3.10)
---------------------

View File

@ -1,6 +1,6 @@
/* SOGoEAlarmsNotifier.m - this file is part of SOGo
*
* Copyright (C) 2010 Inverse inc.
* Copyright (C) 2011 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
@ -91,7 +91,7 @@
[headers setObject: @"quoted-printable" forKey: @"Content-Transfer-Encoding"];
identity = [owner primaryIdentity];
fullName = [identity objectForKey: @"fullName"];
fullName = [[identity objectForKey: @"fullName"] asQPSubjectString: @"utf-8"];
if ([fullName length])
email = [NSString stringWithFormat: @"%@ <%@>", fullName,
[identity objectForKey: @"email"]];
@ -109,9 +109,15 @@
withMailer: (SOGoMailer *) mailer
{
NGMimeMessage *message;
NSString *to;
NSString *to, *headerTo, *attendeeName;
[headers setObject: [attendee mailAddress] forKey: @"To"];
attendeeName = [[attendee cnWithoutQuotes] asQPSubjectString: @"utf-8"];
if ([attendeeName length])
headerTo = [NSString stringWithFormat: @"%@ <%@>", attendeeName,
[attendee rfc822Email]];
else
headerTo = [attendee rfc822Email];
[headers setObject: headerTo forKey: @"To"];
[headers setObject: [self _messageID] forKey: @"Message-Id"];
message = [NGMimeMessage messageWithHeader: headers];
[message setBody: content];