diff --git a/UI/MailerUI/UIxMailListActions.m b/UI/MailerUI/UIxMailListActions.m index de930eac2..b852bc2fc 100644 --- a/UI/MailerUI/UIxMailListActions.m +++ b/UI/MailerUI/UIxMailListActions.m @@ -571,7 +571,7 @@ - (id ) getHeadersAction { - NSArray *uids, *to; + NSArray *uids, *to, *from; NSDictionary *msgs; NSMutableArray *headers; NSMutableDictionary *msg; @@ -633,8 +633,12 @@ [self messageSubject]] forKey: @"Subject"]; - [msg setObject: [addressFormatter stringForArray: [[message objectForKey: @"envelope"] from]] forKey: @"From"]; - + from = [[message objectForKey: @"envelope"] from]; + if ([from count] > 0) + [msg setObject: [addressFormatter stringForArray: from] forKey: @"From"]; + else + [msg setObject: @"" forKey: @"From"]; + if ([self isMessageRead]) msgIconStatus = @"dot.png"; else