1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/MailUtils.h Sun May 03 10:13:31 2009 -0700
1.3 @@ -0,0 +1,31 @@
1.4 +//
1.5 +// MailUtils.h
1.6 +// YourMove
1.7 +//
1.8 +// Created by Jens Alfke on 7/13/08.
1.9 +// Copyright 2008 Jens Alfke. All rights reserved.
1.10 +//
1.11 +
1.12 +#import <Cocoa/Cocoa.h>
1.13 +@class MailOutgoingMessage;
1.14 +
1.15 +
1.16 +@interface OutgoingEmail : NSObject
1.17 +{
1.18 + NSString *_subject, *_body, *_sender;
1.19 + NSMutableArray *_toRecipients, *_attachments;
1.20 + MailOutgoingMessage *_message;
1.21 +}
1.22 +
1.23 ++ (BOOL) isMailRunning;
1.24 +
1.25 +- (id) init;
1.26 +- (id) initWithSubject: (NSString*)subject body: (NSString*)body;
1.27 +
1.28 +@property (copy) NSString *subject, *body, *sender;
1.29 +@property (retain) NSMutableArray *toRecipients, *attachments;
1.30 +
1.31 +- (void) show;
1.32 +- (void) send;
1.33 +
1.34 +@end