C# Class Cats.Web.Hub.Infrastructure.SendMail

An SMTP engine with attachment functionality.
Show file Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
Send ( ) : int

Sends an e-mail message to an SMTP server for delivery

SendMail ( string smtpAddress, int port ) : System
SendMail ( string From, string To, string Subject, string Body, string FileName, bool HTML, string smtpAddress, string userName, string password, int port ) : System

Method Details

Send() public method

Sends an e-mail message to an SMTP server for delivery
public Send ( ) : int
return int

SendMail() public method

public SendMail ( string smtpAddress, int port ) : System
smtpAddress string
port int
return System

SendMail() public method

public SendMail ( string From, string To, string Subject, string Body, string FileName, bool HTML, string smtpAddress, string userName, string password, int port ) : System
From string
To string
Subject string
Body string
FileName string
HTML bool
smtpAddress string
userName string
password string
port int
return System