From ff6ba4a07fbee0290646f00d75f24af4b4fb532e Mon Sep 17 00:00:00 2001 From: znek Date: Mon, 15 Nov 2004 18:20:57 +0000 Subject: [PATCH] properly set "From" header git-svn-id: http://svn.opengroupware.org/SOGo/trunk@453 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/UI/Mailer/ChangeLog | 4 ++++ SOGo/UI/Mailer/UIxMailEditor.m | 7 +++++-- SOGo/UI/Mailer/Version | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/SOGo/UI/Mailer/ChangeLog b/SOGo/UI/Mailer/ChangeLog index c3317bce..fb37d467 100644 --- a/SOGo/UI/Mailer/ChangeLog +++ b/SOGo/UI/Mailer/ChangeLog @@ -1,3 +1,7 @@ +2004-11-15 Marcus Mueller + + * UIxMailEditor.m: properly set "From" header (v0.9.63) + 2004-11-11 Helge Hess * UIxMailListView.wox: added sample move popup (v0.9.62) diff --git a/SOGo/UI/Mailer/UIxMailEditor.m b/SOGo/UI/Mailer/UIxMailEditor.m index 3de13625..bf1a6208 100644 --- a/SOGo/UI/Mailer/UIxMailEditor.m +++ b/SOGo/UI/Mailer/UIxMailEditor.m @@ -46,6 +46,10 @@ #include #include "common.h" +@interface UIxComponent (Scheduler_Privates) +- (NSString *)emailForUser; +@end + @implementation UIxMailEditor static BOOL keepMailTmpFile = NO; @@ -76,8 +80,7 @@ static NSArray *infoKeys = nil; - (void)setFrom:(NSString *)_ignore { } - (NSString *)from { -#warning TODO: retrieve email of account using SOGoUserManager, -emailForUID: - return @"hh@skyrix.com"; + return [self emailForUser]; } - (void)setReplyTo:(NSString *)_ignore { } diff --git a/SOGo/UI/Mailer/Version b/SOGo/UI/Mailer/Version index 04380832..046ba8ca 100644 --- a/SOGo/UI/Mailer/Version +++ b/SOGo/UI/Mailer/Version @@ -1,6 +1,6 @@ # $Id$ -SUBMINOR_VERSION:=62 +SUBMINOR_VERSION:=63 # v0.9.50 requires NGMime v4.3.190 # v0.9.43 requires NGObjWeb v4.3.73 -- 2.39.5