MailUtils.h
author snej@snej-mbp.mtv.corp.google.com
Tue Apr 07 11:13:25 2009 -0700 (2009-04-07)
changeset 23 a910102a1c9d
permissions -rw-r--r--
* Added MYReturnError.
* Better iPhone support in ExceptionUtils.
* Make sure "All Tests Passed/Failed" message is always logged.
jens@17
     1
//
jens@17
     2
//  MailUtils.h
jens@17
     3
//  YourMove
jens@17
     4
//
jens@17
     5
//  Created by Jens Alfke on 7/13/08.
jens@17
     6
//  Copyright 2008 Jens Alfke. All rights reserved.
jens@17
     7
//
jens@17
     8
jens@17
     9
#import <Cocoa/Cocoa.h>
jens@17
    10
@class MailOutgoingMessage;
jens@17
    11
jens@17
    12
jens@17
    13
@interface OutgoingEmail : NSObject 
jens@17
    14
{
jens@17
    15
    NSString *_subject, *_body, *_sender;
jens@17
    16
    NSMutableArray *_toRecipients, *_attachments;
jens@17
    17
    MailOutgoingMessage *_message;
jens@17
    18
}
jens@17
    19
jens@17
    20
+ (BOOL) isMailRunning;
jens@17
    21
jens@17
    22
- (id) init;
jens@17
    23
- (id) initWithSubject: (NSString*)subject body: (NSString*)body;
jens@17
    24
jens@17
    25
@property (copy) NSString *subject, *body, *sender;
jens@17
    26
@property (retain) NSMutableArray *toRecipients, *attachments;
jens@17
    27
jens@17
    28
- (void) show;
jens@17
    29
- (void) send;
jens@17
    30
jens@17
    31
@end