C# 클래스 UnitTest.SMTPSimulator

Summary description for SMTPSimulator.
파일 보기 프로젝트 열기: nberardi/hMailServer 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( int iPort ) : void
ConnectAndLogon ( int port, string base64Username, string base64Password, string &errorMessage ) : bool
Disconnect ( ) : void
GetWelcomeMessage ( ) : string
Receive ( ) : string
SMTPSimulator ( ) : System
SMTPSimulator ( bool useSSL, int port ) : System
SMTPSimulator ( bool useSSL, int port, IPAddress ipaddress ) : System
Send ( string sFrom, List lstRecipients, string sSubject, string sBody ) : bool
Send ( string sFrom, string sTo, string sSubject, string sBody ) : bool
Send ( string sFrom, string sTo, string sSubject, string sBody, string &result ) : bool
Send ( string sData ) : void
SendAndReceive ( string sData ) : string
SendRaw ( string sFrom, string sTo, string text ) : bool
StaticSend ( string sFrom, List lstRecipients, string sSubject, string sBody ) : bool
StaticSend ( string sFrom, string recipient, string sSubject, string sBody ) : bool
StaticSendRaw ( string sFrom, string recipient, string sBody ) : bool
TestConnect ( int iPort ) : bool

메소드 상세

Connect() 공개 메소드

public Connect ( int iPort ) : void
iPort int
리턴 void

ConnectAndLogon() 공개 메소드

public ConnectAndLogon ( int port, string base64Username, string base64Password, string &errorMessage ) : bool
port int
base64Username string
base64Password string
errorMessage string
리턴 bool

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetWelcomeMessage() 공개 메소드

public GetWelcomeMessage ( ) : string
리턴 string

Receive() 공개 메소드

public Receive ( ) : string
리턴 string

SMTPSimulator() 공개 메소드

public SMTPSimulator ( ) : System
리턴 System

SMTPSimulator() 공개 메소드

public SMTPSimulator ( bool useSSL, int port ) : System
useSSL bool
port int
리턴 System

SMTPSimulator() 공개 메소드

public SMTPSimulator ( bool useSSL, int port, IPAddress ipaddress ) : System
useSSL bool
port int
ipaddress System.Net.IPAddress
리턴 System

Send() 공개 메소드

public Send ( string sFrom, List lstRecipients, string sSubject, string sBody ) : bool
sFrom string
lstRecipients List
sSubject string
sBody string
리턴 bool

Send() 공개 메소드

public Send ( string sFrom, string sTo, string sSubject, string sBody ) : bool
sFrom string
sTo string
sSubject string
sBody string
리턴 bool

Send() 공개 메소드

public Send ( string sFrom, string sTo, string sSubject, string sBody, string &result ) : bool
sFrom string
sTo string
sSubject string
sBody string
result string
리턴 bool

Send() 공개 메소드

public Send ( string sData ) : void
sData string
리턴 void

SendAndReceive() 공개 메소드

public SendAndReceive ( string sData ) : string
sData string
리턴 string

SendRaw() 공개 메소드

public SendRaw ( string sFrom, string sTo, string text ) : bool
sFrom string
sTo string
text string
리턴 bool

StaticSend() 공개 정적인 메소드

public static StaticSend ( string sFrom, List lstRecipients, string sSubject, string sBody ) : bool
sFrom string
lstRecipients List
sSubject string
sBody string
리턴 bool

StaticSend() 공개 정적인 메소드

public static StaticSend ( string sFrom, string recipient, string sSubject, string sBody ) : bool
sFrom string
recipient string
sSubject string
sBody string
리턴 bool

StaticSendRaw() 공개 정적인 메소드

public static StaticSendRaw ( string sFrom, string recipient, string sBody ) : bool
sFrom string
recipient string
sBody string
리턴 bool

TestConnect() 공개 메소드

public TestConnect ( int iPort ) : bool
iPort int
리턴 bool