CWSendmail |
This class, which implements the CWTransport protocol, is used to provide an interface to the "sendmail" command found on most UNIX system in order to submit messages directly instead of using SMTP.
Conforms to
CWTransport
Superclass
NSObject
Declared In
delegate |
- (id) delegate;
The delegate, nil if none was previously set.
This method is used to obtain the delegate of the CWSendmail's instance.
initWithPath: |
- (id) initWithPath: (NSString *) thePath;
An instance of Sendmail, nil on error.
This is the designated initializer for the CWSendmail class.
path |
- (NSString *) path;
The path to the "sendmail" binary.
This method is used to get the path to the "sendmail" binary previously set by calling -setPath:.
setDelegate: |
- (void) setDelegate: (id) theDelegate;
This method is used to set the CWSendmail instance's delegate. The delegate will not be retained. The CWSendmail class (and its subclasses) will invoke methods on the delegate based on actions performed.
setPath: |
- (void) setPath: (NSString *) thePath;
This method is used to set the path to the "sendmail" binary.
_data |
private
NSData *_data;
_delegate |
private
id _delegate;
_message |
private
CWMessage *_message;
_path |
private
NSString *_path;
_recipients |
private
NSMutableArray *_recipients;