CWSMTP.h


Use the links in the table of contents to the left to access the documentation.

Includes <Pantomime/CWService.h>, <Pantomime/CWTransport.h>, <Foundation/NSArray.h>, <Foundation/NSData.h>, <Foundation/NSObject.h>, <Foundation/NSString.h>


Classes

CWMessage
CWSMTP

Pantomime SMTP client code.

Categories

NSObject(SMTPClient)


Typedefs

SMTPCommand

Supported SMTP commands.


SMTPCommand


Supported SMTP commands.

typedef enum { 
    SMTP_AUTH_CRAM_MD5 = 0x1000, 
    SMTP_AUTH_LOGIN, 
    SMTP_AUTH_LOGIN_CHALLENGE, 
    SMTP_AUTH_PLAIN, 
    SMTP_DATA, 
    SMTP_EHLO, 
    SMTP_HELO, 
    SMTP_MAIL, 
    SMTP_NOOP, 
    SMTP_QUIT, 
    SMTP_RCPT, 
    SMTP_RSET, 
    SMTP_STARTTLS, 
    SMTP_AUTHORIZATION, 
    SMTP_EMPTY_QUEUE, 
} SMTPCommand;  
Constants
SMTP_AUTH_CRAM_MD5

CRAM-MD5 authentication.

SMTP_AUTH_LOGIN

LOGIN authentication.

SMTP_AUTH_LOGIN_CHALLENGE

Challenge during the LOGIN authentication.

SMTP_AUTH_PLAIN

PLAIN authentication.

SMTP_DATA

The DATA SMTP command - see 4.1.1.4 DATA (DATA) of RFC 2821.

SMTP_EHLO

The EHLO SMTP command - see 4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) of RFC 2821.

SMTP_HELO

The HELO SMTP command - see 4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) of RFC 2821.

SMTP_MAIL

The MAIL SMTP command - see 4.1.1.2 MAIL (MAIL) of RFC 2821.

SMTP_NOOP

The NOOP SMTP command - see 4.1.1.9 NOOP (NOOP) of RFC 2821.

SMTP_QUIT

The QUIT SMTP command - see 4.1.1.10 QUIT (QUIT) of RFC 2821.

SMTP_RCPT

The RCPT SMTP command - see 4.1.1.3 RECIPIENT (RCPT) of RFC 2821.

SMTP_RSET

The RSET SMTP command - see 4.1.1.5 RESET (RSET) of RFC 2821.

SMTP_STARTTLS

The STARTTLS SMTP command - see RFC2487.

SMTP_AUTHORIZATION

Special command to know we are in the autorization state.

SMTP_EMPTY_QUEUE

Special command to empty the command queue.

Discussion

This enum lists the supported SMTP commands available in Pantomime's SMTP client code.


Globals

PantomimeRecipientIdentificationCompleted
PantomimeRecipientIdentificationFailed
PantomimeTransactionInitiationCompleted
PantomimeTransactionInitiationFailed
PantomimeTransactionResetCompleted
PantomimeTransactionResetFailed

PantomimeRecipientIdentificationCompleted


extern NSString* PantomimeRecipientIdentificationCompleted;  

PantomimeRecipientIdentificationFailed


extern NSString* PantomimeRecipientIdentificationFailed;  

PantomimeTransactionInitiationCompleted


  extern NSString* PantomimeTransactionInitiationCompleted;  

PantomimeTransactionInitiationFailed


extern NSString* PantomimeTransactionInitiationFailed;  

PantomimeTransactionResetCompleted


extern NSString* PantomimeTransactionResetCompleted;  

PantomimeTransactionResetFailed


extern NSString* PantomimeTransactionResetFailed;  

Macro Definitions

_Pantomime_H_CWSMTP

_Pantomime_H_CWSMTP


#define _Pantomime_H_CWSMTP