-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathATMailHelper.h
More file actions
30 lines (23 loc) · 774 Bytes
/
ATMailHelper.h
File metadata and controls
30 lines (23 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// ATMailHelper.h
// AP
//
// Created by Christopher Atlan on 25.12.09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface ATMailHelper : NSObject {
}
/*!
Opens Apple Mails compose new message window with a HTML message.
@param string The HTML for the new Mail Message
@param URL The base URL if the HTML requires to load additional resources
@param aSubject The subject for the new Mail Message
@param alternateMailToURL If Apple Mail is not the default Mail Client, or something else goes wrong,
this standard "mailto:?subject=&body=" is called
*/
+ (void)mailHTMLString:(NSString *)string
baseURL:(NSURL *)URL
subject:(NSString *)aSubject
alternateMailToURL:(NSURL *)alternateMailToURL;
@end