C# 클래스 System.Net.Mail.SmtpClient

상속: IDisposable
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Abort void
CheckHostAndPort void
Complete void
ConnectCallback void
ContextSafeCompleteCallback void
GetConnection void
GetFileMailWriter System.Net.Mail.MailWriter
HandleCompletion void
Initialize void
IsSystemNetworkCredentialInCache bool
IsUnicodeSupported bool
SendAsync void
SendAsync void
SendCompletedWaitCallback void
SendMailAsync System.Threading.Tasks.Task
SendMailAsync System.Threading.Tasks.Task
SendMailCallback void
SendMessageCallback void
TimeOutCallback void
ValidateUnicodeRequirement void

공개 메소드들

메소드 설명
Dispose ( ) : void
Send ( MailMessage message ) : void
Send ( string from, string recipients, string subject, string body ) : void
SendAsyncCancel ( ) : void
SmtpClient ( ) : System.ComponentModel
SmtpClient ( string host ) : System.ComponentModel
SmtpClient ( string host, int port ) : System.ComponentModel

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnSendCompleted ( AsyncCompletedEventArgs e ) : void

비공개 메소드들

메소드 설명
Abort ( ) : void
CheckHostAndPort ( ) : void
Complete ( Exception exception, IAsyncResult result ) : void
ConnectCallback ( IAsyncResult result ) : void
ContextSafeCompleteCallback ( IAsyncResult ar ) : void
GetConnection ( ) : void
GetFileMailWriter ( string pickupDirectory ) : System.Net.Mail.MailWriter
HandleCompletion ( TaskCompletionSource tcs, AsyncCompletedEventArgs e, SendCompletedEventHandler handler ) : void
Initialize ( ) : void
IsSystemNetworkCredentialInCache ( CredentialCache cache ) : bool
IsUnicodeSupported ( ) : bool
SendAsync ( MailMessage message, object userToken ) : void
SendAsync ( string from, string recipients, string subject, string body, object userToken ) : void
SendCompletedWaitCallback ( object operationState ) : void
SendMailAsync ( MailMessage message ) : System.Threading.Tasks.Task
SendMailAsync ( string from, string recipients, string subject, string body ) : System.Threading.Tasks.Task
SendMailCallback ( IAsyncResult result ) : void
SendMessageCallback ( IAsyncResult result ) : void
TimeOutCallback ( object state ) : void
ValidateUnicodeRequirement ( MailMessage message, MailAddressCollection recipients, bool allowUnicode ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

OnSendCompleted() 보호된 메소드

protected OnSendCompleted ( AsyncCompletedEventArgs e ) : void
e System.ComponentModel.AsyncCompletedEventArgs
리턴 void

Send() 공개 메소드

public Send ( MailMessage message ) : void
message MailMessage
리턴 void

Send() 공개 메소드

public Send ( string from, string recipients, string subject, string body ) : void
from string
recipients string
subject string
body string
리턴 void

SendAsyncCancel() 공개 메소드

public SendAsyncCancel ( ) : void
리턴 void

SmtpClient() 공개 메소드

public SmtpClient ( ) : System.ComponentModel
리턴 System.ComponentModel

SmtpClient() 공개 메소드

public SmtpClient ( string host ) : System.ComponentModel
host string
리턴 System.ComponentModel

SmtpClient() 공개 메소드

public SmtpClient ( string host, int port ) : System.ComponentModel
host string
port int
리턴 System.ComponentModel