mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-15 19:55:56 +00:00
Monotone-Parent: c7cffd8dde105fd1e43ad66af119ae46d931617a
Monotone-Revision: 21cd67b802d7be6973e4f0cf16a68dfb3497f3a5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-08-21T14:47:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2007-08-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailAccountActions.m ([UIxMailAccountActions
|
||||
-composeAction]): the address fields should be arrays and not
|
||||
simple strings.
|
||||
|
||||
* UI/Common/UIxPageFrame.m ([UIxPageFrame -buildDate]): new method
|
||||
that returns the build date of SOGo in the template.
|
||||
|
||||
|
||||
@@ -123,15 +123,17 @@
|
||||
{
|
||||
SOGoDraftsFolder *drafts;
|
||||
SOGoDraftObject *newDraftMessage;
|
||||
NSString *urlBase, *url;
|
||||
NSString *mailTo;
|
||||
NSString *urlBase, *url, *value;
|
||||
NSArray *mailTo;
|
||||
|
||||
|
||||
drafts = [[self clientObject] draftsFolderInContext: context];
|
||||
newDraftMessage = [drafts newDraft];
|
||||
|
||||
mailTo = [[self request] formValueForKey: @"mailto"];
|
||||
if ([mailTo length] > 0)
|
||||
value = [[self request] formValueForKey: @"mailto"];
|
||||
if ([value length] > 0)
|
||||
{
|
||||
mailTo = [NSArray arrayWithObject: value];
|
||||
[newDraftMessage setHeaders: [NSDictionary dictionaryWithObject: mailTo
|
||||
forKey: @"to"]];
|
||||
[newDraftMessage storeInfo];
|
||||
|
||||
Reference in New Issue
Block a user