C# Class BlogSharp.Core.Impl.Services.Mail.MailService

Inheritance: IMailService
显示文件 Open project: BlogSharp/Blogsharp

Public Methods

Method Description
MailService ( string defaultFromAddress, string defaultDisplayName, string host, int port ) : System.Net.Mail
Send ( System.Net.Mail.MailAddress to, System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress replyto, string subject, string message ) : void
Send ( System.Net.Mail.MailAddress to, System.Net.Mail.MailAddress replyto, string subject, string message ) : void
Send ( System.Net.Mail.MailAddress to, string subject, string message ) : void

Method Details

MailService() public method

public MailService ( string defaultFromAddress, string defaultDisplayName, string host, int port ) : System.Net.Mail
defaultFromAddress string
defaultDisplayName string
host string
port int
return System.Net.Mail

Send() public method

public Send ( System.Net.Mail.MailAddress to, System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress replyto, string subject, string message ) : void
to System.Net.Mail.MailAddress
from System.Net.Mail.MailAddress
replyto System.Net.Mail.MailAddress
subject string
message string
return void

Send() public method

public Send ( System.Net.Mail.MailAddress to, System.Net.Mail.MailAddress replyto, string subject, string message ) : void
to System.Net.Mail.MailAddress
replyto System.Net.Mail.MailAddress
subject string
message string
return void

Send() public method

public Send ( System.Net.Mail.MailAddress to, string subject, string message ) : void
to System.Net.Mail.MailAddress
subject string
message string
return void