C# Class Chaos.Portal.EmailService.EmailService

Inheritance: IEmailService
Show file Open project: CHAOS-Community/Portal

Public Methods

Method Description
EmailService ( IEmailSender sender ) : System
Send ( string from, IEnumerable to, IEnumerable bcc, string subject, string body ) : void
Send ( string from, string to, string subject, string body ) : void
SendTemplate ( string @from, IEnumerable to, IEnumerable bcc, string subject, System.Xml.Linq.XElement bodyTemplate, IList bodyDatas ) : void
SendTemplate ( string from, IEnumerable to, IEnumerable bcc, string subject, System.Xml.Linq.XElement bodyTemplate, System.Xml.Linq.XElement bodyData ) : void
SendTemplate ( string @from, string to, string subject, System.Xml.Linq.XElement bodyTemplate, IList bodyDatas ) : void
SendTemplate ( string from, string to, string subject, System.Xml.Linq.XElement bodyTemplate, System.Xml.Linq.XElement bodyData ) : void

Private Methods

Method Description
TransformXSLT ( System.Xml.Linq.XElement template, System.Xml.Linq.XElement data ) : string

Method Details

EmailService() public method

public EmailService ( IEmailSender sender ) : System
sender IEmailSender
return System

Send() public method

public Send ( string from, IEnumerable to, IEnumerable bcc, string subject, string body ) : void
from string
to IEnumerable
bcc IEnumerable
subject string
body string
return void

Send() public method

public Send ( string from, string to, string subject, string body ) : void
from string
to string
subject string
body string
return void

SendTemplate() public method

public SendTemplate ( string @from, IEnumerable to, IEnumerable bcc, string subject, System.Xml.Linq.XElement bodyTemplate, IList bodyDatas ) : void
@from string
to IEnumerable
bcc IEnumerable
subject string
bodyTemplate System.Xml.Linq.XElement
bodyDatas IList
return void

SendTemplate() public method

public SendTemplate ( string from, IEnumerable to, IEnumerable bcc, string subject, System.Xml.Linq.XElement bodyTemplate, System.Xml.Linq.XElement bodyData ) : void
from string
to IEnumerable
bcc IEnumerable
subject string
bodyTemplate System.Xml.Linq.XElement
bodyData System.Xml.Linq.XElement
return void

SendTemplate() public method

public SendTemplate ( string @from, string to, string subject, System.Xml.Linq.XElement bodyTemplate, IList bodyDatas ) : void
@from string
to string
subject string
bodyTemplate System.Xml.Linq.XElement
bodyDatas IList
return void

SendTemplate() public method

public SendTemplate ( string from, string to, string subject, System.Xml.Linq.XElement bodyTemplate, System.Xml.Linq.XElement bodyData ) : void
from string
to string
subject string
bodyTemplate System.Xml.Linq.XElement
bodyData System.Xml.Linq.XElement
return void