CWSMTP |
Pantomime SMTP client code.
This class, which extends the CWService class and implements the CWTransport protocol, is Pantomime's SMTP client code.
Conforms to
CWTransport
Superclass
CWService
Declared In
lastResponse |
- (NSData *) lastResponse;
The last response in its complete form, nil if no response was read.
This method is used to obtain the last response received from the SMTP server. If the server sent a multi-line response, only the last line will be returned.
lastResponseCode |
- (int) lastResponseCode;
The last response code in its complete form, 0 if no response was read.
This method is used to obtain the last response code received from the SMTP server. If the server sent a multi-line response, only the code of the last line will be returned.
reset |
- (void) reset;
This method is used to send the RSET SMTP command. See 4.1.1.5 RESET (RSET) of RFC 2821 for a full description of this command. It will NOT reset to nil the previously used recipients, message or message data. If you wish to change either of them, call the corresponding accessor method between your -sendMessage calls.
sendCommand: arguments: ... |
- (void) sendCommand: (SMTPCommand) theCommand arguments: (NSString *) theFormat, ...;
This method is used to send commands to the SMTP server. Normally, you should not call this method directly.
See Also
sendCommand:arguments:
sendCommand:arguments: |
- (void) sendCommand: (SMTPCommand) theCommand arguments: (NSString *) theFormat, ...;
This method is used to send commands to the SMTP server. Normally, you should not call this method directly.
See Also
sendCommand: arguments: ...
_data |
private
NSData *_data;
_max_size |
private
unsigned int _max_size;
_message |
private
CWMessage *_message;
_recipients |
private
NSMutableArray *_recipients;
_redirected |
private
BOOL _redirected;
_sent_recipients |
private
NSMutableArray *_sent_recipients;