C# Class DKIM.SmtpClient

Inheritance: IDisposable
Show file Open project: yannispsarras/DKIM-AlternativeViews Class Usage Examples

Public Properties

Property Type Description
Host string
UseSsl bool

Public Methods

Method Description
Send ( IEnumerable messages ) : void
Send ( MailMessage message ) : void
SmtpClient ( string host, Stream stream ) : System
SmtpClient ( string host, Stream stream, NetworkCredential credentials ) : System
SmtpClient ( string host, Stream stream, bool useSsl ) : System
SmtpClient ( string host, Stream stream, bool useSsl, NetworkCredential credentials ) : System

Private Methods

Method Description
Authenticate ( ) : void
Data ( string data ) : void
Ehlo ( ) : void
From ( string from ) : void
RcptTo ( MailAddressCollection recipients ) : void
SendCommand ( string command, int expectedCode ) : string

Method Details

Send() public method

public Send ( IEnumerable messages ) : void
messages IEnumerable
return void

Send() public method

public Send ( MailMessage message ) : void
message MailMessage
return void

SmtpClient() public method

public SmtpClient ( string host, Stream stream ) : System
host string
stream Stream
return System

SmtpClient() public method

public SmtpClient ( string host, Stream stream, NetworkCredential credentials ) : System
host string
stream Stream
credentials NetworkCredential
return System

SmtpClient() public method

public SmtpClient ( string host, Stream stream, bool useSsl ) : System
host string
stream Stream
useSsl bool
return System

SmtpClient() public method

public SmtpClient ( string host, Stream stream, bool useSsl, NetworkCredential credentials ) : System
host string
stream Stream
useSsl bool
credentials NetworkCredential
return System

Property Details

Host public property

public string Host
return string

UseSsl public property

public bool UseSsl
return bool