see changelog
Monotone-Parent: c5897425faf8f3a723929198ea103791db97e34a Monotone-Revision: eb56d3246a07a98ba9e1f305e99732618f2eb738 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2007-12-14T20:02:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
b57a02f29f
commit
164a833f3f
|
@ -1,3 +1,12 @@
|
|||
2007-12-14 Ludovic Marcotte <ludovic@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoCalendarComponent.m
|
||||
We set headers in lowercase so that they get properly
|
||||
encoded by SOPE.
|
||||
|
||||
* SoObjects/Mailer/SOGoDraftObject.m
|
||||
Minor cleanups.
|
||||
|
||||
2007-12-13 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailMainFrame.m ([UIxMailMainFrame -saveFoldersStateAction])
|
||||
|
|
|
@ -316,11 +316,11 @@ static BOOL sendEMailNotifications = NO;
|
|||
* so we'll stick with multipart/mixed for the time being.
|
||||
*/
|
||||
[headerMap setObject: @"multipart/mixed" forKey: @"content-type"];
|
||||
[headerMap setObject: sender forKey: @"From"];
|
||||
[headerMap setObject: recipient forKey: @"To"];
|
||||
[headerMap setObject: sender forKey: @"from"];
|
||||
[headerMap setObject: recipient forKey: @"to"];
|
||||
mailDate = [[NSCalendarDate date] rfc822DateString];
|
||||
[headerMap setObject: mailDate forKey: @"date"];
|
||||
[headerMap setObject: subject forKey: @"Subject"];
|
||||
[headerMap setObject: subject forKey: @"subject"];
|
||||
msg = [NGMimeMessage messageWithHeader: headerMap];
|
||||
|
||||
/* multipart body */
|
||||
|
@ -407,11 +407,11 @@ static BOOL sendEMailNotifications = NO;
|
|||
* so we'll stick with multipart/mixed for the time being.
|
||||
*/
|
||||
[headerMap setObject: @"multipart/mixed" forKey: @"content-type"];
|
||||
[headerMap setObject: [attendee mailAddress] forKey: @"From"];
|
||||
[headerMap setObject: [organizer mailAddress] forKey: @"To"];
|
||||
[headerMap setObject: [attendee mailAddress] forKey: @"from"];
|
||||
[headerMap setObject: [organizer mailAddress] forKey: @"to"];
|
||||
mailDate = [[NSCalendarDate date] rfc822DateString];
|
||||
[headerMap setObject: mailDate forKey: @"date"];
|
||||
[headerMap setObject: [p getSubject] forKey: @"Subject"];
|
||||
[headerMap setObject: [p getSubject] forKey: @"subject"];
|
||||
msg = [NGMimeMessage messageWithHeader: headerMap];
|
||||
|
||||
NSLog (@"sending 'REPLY' from %@ to %@",
|
||||
|
|
|
@ -1164,20 +1164,18 @@ static BOOL showTextAttachmentsInline = NO;
|
|||
else if (![self isEmptyValue:from])
|
||||
[map setObjects:[map objectsForKey: @"from"] forKey: @"reply-to"];
|
||||
|
||||
/* add subject */
|
||||
if (inReplyTo)
|
||||
[map setObject: inReplyTo forKey: @"in-reply-to"];
|
||||
|
||||
/* add subject */
|
||||
if ([(s = [headers objectForKey: @"subject"]) length] > 0)
|
||||
[map setObject: [s asQPSubjectString: @"utf-8"]
|
||||
forKey: @"subject"];
|
||||
// [map setObject: [s asQPSubjectString: @"utf-8"] forKey: @"subject"];
|
||||
|
||||
[map setObject: [headers objectForKey: @"message-id"]
|
||||
forKey: @"message-id"];
|
||||
|
||||
/* add standard headers */
|
||||
|
||||
dateString = [[NSCalendarDate date] rfc822DateString];
|
||||
[map addObject: dateString forKey: @"date"];
|
||||
[map addObject: @"1.0" forKey: @"MIME-Version"];
|
||||
|
|
Loading…
Reference in a new issue