mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
Monotone-Parent: 24b361ad5626a3cf990206bae54d63a278f81a1e
Monotone-Revision: 100d8ec9579d3775f3468d8a6c19fb77e3a4c287 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-25T14:28:00 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2007-04-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoDraftObject.m: invoke the new
|
||||
"rfc822DateString" category method on the date we put in the
|
||||
header.
|
||||
|
||||
2007-04-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Common/UIxUserRightsEditor.m ([UIxUserRightsEditor -defaultAction])
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "SOGoDraftObject.h"
|
||||
#include <SoObjects/SOGo/WOContext+Agenor.h>
|
||||
#include <SoObjects/SOGo/NSCalendarDate+SOGo.h>
|
||||
#include <NGMail/NGMimeMessage.h>
|
||||
#include <NGMail/NGMimeMessageGenerator.h>
|
||||
#include <NGMail/NGSendMail.h>
|
||||
@@ -608,7 +609,7 @@ static NSString *fromInternetSuffixPattern = nil;
|
||||
NGMutableHashMap *map;
|
||||
NSDictionary *lInfo; // TODO: this should be some kind of object?
|
||||
NSArray *emails;
|
||||
NSString *s;
|
||||
NSString *s, *dateString;
|
||||
id from, replyTo;
|
||||
|
||||
if ((lInfo = [self fetchInfo]) == nil)
|
||||
@@ -657,10 +658,11 @@ static NSString *fromInternetSuffixPattern = nil;
|
||||
[map setObject: [s asQPSubjectString] forKey:@"subject"];
|
||||
|
||||
/* add standard headers */
|
||||
|
||||
[map addObject:[NSCalendarDate date] forKey:@"date"];
|
||||
[map addObject:@"1.0" forKey:@"MIME-Version"];
|
||||
[map addObject:userAgent forKey:@"X-Mailer"];
|
||||
|
||||
dateString = [[NSCalendarDate date] rfc822DateString];
|
||||
[map addObject: dateString forKey:@"date"];
|
||||
[map addObject: @"1.0" forKey:@"MIME-Version"];
|
||||
[map addObject: userAgent forKey:@"X-Mailer"];
|
||||
|
||||
/* add custom headers */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user