C# Class BasicUsage.Components.SmtpEmailSender

Implementation IEmailSender that uses the SMTP protocol to send emails (fake)
Inheritance: IEmailSender
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Send ( String from, String to, String message ) : void
SmtpEmailSender ( ) : System
SmtpEmailSender ( String host, int port ) : System

Method Details

Send() public method

public Send ( String from, String to, String message ) : void
from String
to String
message String
return void

SmtpEmailSender() public method

public SmtpEmailSender ( ) : System
return System

SmtpEmailSender() public method

public SmtpEmailSender ( String host, int port ) : System
host String
port int
return System