MailUtils.h
author Jens Alfke <jens@mooseyard.com>
Sun May 03 10:13:31 2009 -0700 (2009-05-03)
changeset 27 256370e8935a
permissions -rw-r--r--
* MYTask: Added -commandLine, overhauled logging.
* MYDirectoryWatcher: Overhauled logging.
* MYErrorUtils: Disabled use of Security API (so it'll build without linking against Security.framework.)
     1 //
     2 //  MailUtils.h
     3 //  YourMove
     4 //
     5 //  Created by Jens Alfke on 7/13/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //
     8 
     9 #import <Cocoa/Cocoa.h>
    10 @class MailOutgoingMessage;
    11 
    12 
    13 @interface OutgoingEmail : NSObject 
    14 {
    15     NSString *_subject, *_body, *_sender;
    16     NSMutableArray *_toRecipients, *_attachments;
    17     MailOutgoingMessage *_message;
    18 }
    19 
    20 + (BOOL) isMailRunning;
    21 
    22 - (id) init;
    23 - (id) initWithSubject: (NSString*)subject body: (NSString*)body;
    24 
    25 @property (copy) NSString *subject, *body, *sender;
    26 @property (retain) NSMutableArray *toRecipients, *attachments;
    27 
    28 - (void) show;
    29 - (void) send;
    30 
    31 @end