NGSmtpClient
Inherits From: NSObject
Declared In: NGSmtpClient.h
Methods: + smtpClient , - initWithSocket: , - socket , - state , - setDebuggingEnabled: , - isDebuggingEnabled , - connectToHost: , - connectToAddress: , - disconnect , - requireState: , - denyState: , - gotoState: , - receiveReply , - sendCommand: , - sendCommand:argument: , - quit , - helloWithHostname: , - hello , - noop , - reset , - help , - helpForTopic: , - verifyAddress: , - mailFrom: , - recipientTo: , - sendData:


Class Description
No class description.


Defined Types

Synopsis:

typedef enum {    
    NGSmtpState_unconnected = 1,
    NGSmtpState_connected,
    NGSmtpState_TRANSACTION
} NGSmtpState;



Instance Variables
id<NGActiveSocket> socket;
NGBufferedStream *connection;
id<NGExtendedTextStream> text;
NGSmtpState state;
BOOL isDebuggingEnabled;
struct {    
    BOOL hasExpand:1;
    BOOL hasSize:1;
    BOOL hasHelp:1;
    BOOL hasPipelining;
} extensions;

socketNo description.
connectionNo description.
textNo description.
stateNo description.
isDebuggingEnabledNo description.
extensions.hasExpandNo description.
extensions.hasSizeNo description.
extensions.hasHelpNo description.
extensions.hasPipeliningNo description.



Method Types
+ smtpClient
- initWithSocket:
- socket
- state
- setDebuggingEnabled:
- isDebuggingEnabled
- connectToHost:
- connectToAddress:
- disconnect
- requireState:
- denyState:
- gotoState:
- receiveReply
- sendCommand:
- sendCommand:argument:
- quit
- helloWithHostname:
- hello
- noop
- reset
- help
- helpForTopic:
- verifyAddress:
- mailFrom:
- recipientTo:
- sendData:


Class Methods
smtpClient
+ (id)smtpClient
No method description.


Instance Methods
connectToAddress:
- (BOOL)connectToAddress:(id<NGSocketAddress>)_address
No method description.

connectToHost:
- (BOOL)connectToHost:(id)_host
No method description.

denyState:
- (void)denyState:(NGSmtpState)_state
No method description.

disconnect
- (void)disconnect
No method description.

gotoState:
- (void)gotoState:(NGSmtpState)_state
No method description.

hello
- (BOOL)hello
No method description.

helloWithHostname:
- (BOOL)helloWithHostname:(NSString *)_host
No method description.

help
- (NSString *)help
No method description.

helpForTopic:
- (NSString *)helpForTopic:(NSString *)_topic
No method description.

initWithSocket:
- (id)initWithSocket:(id<NGActiveSocket>)_socket
No method description.

isDebuggingEnabled
- (BOOL)isDebuggingEnabled
No method description.

mailFrom:
- (BOOL)mailFrom:(id)_sender
No method description.

noop
- (BOOL)noop
No method description.

quit
- (BOOL)quit
No method description.

receiveReply
- (NGSmtpResponse *)receiveReply
No method description.

recipientTo:
- (BOOL)recipientTo:(id)_receiver
No method description.

requireState:
- (void)requireState:(NGSmtpState)_state
No method description.

reset
- (BOOL)reset
No method description.

sendCommand:
- (NGSmtpResponse *)sendCommand:(NSString *)_command
No method description.

sendCommand:argument:
- (NGSmtpResponse *)sendCommand:(NSString *)_command argument:(NSString *)arg
No method description.

sendData:
- (BOOL)sendData:(NSData *)_data
No method description.

setDebuggingEnabled:
- (void)setDebuggingEnabled:(BOOL)_flag
No method description.

socket
- (id<NGActiveSocket>)socket
No method description.

state
- (NGSmtpState)state
No method description.

verifyAddress:
- (BOOL)verifyAddress:(id)_address
No method description.


Version 1.1.1.1 Copyright ©2002 by SKYRIX Software AG. All Rights Reserved.