C# Class Aqueduct.Mail.MailMessage

ファイルを表示 Open project: aqueduct/Aqueduct.SitecoreLib

Public Methods

Method Description
AddAttachment ( Attachment attachment ) : void
AddBCC ( EmailUser user ) : void
AddCC ( EmailUser user ) : void
AddRecipient ( EmailUser user ) : void
ClearAllRecipients ( ) : void
ClearAttachments ( ) : void
ClearBCCList ( ) : void
ClearCCList ( ) : void
ClearRecipients ( ) : void
Send ( SmtpServerInfo serverInfo ) : void

Protected Methods

Method Description
MailMessage ( ) : System
MailMessage ( bool isHtml ) : System
OnSending ( MailMessageSendingEventArgs e ) : void
OnSent ( MailMessageSentEventArgs e ) : void

Private Methods

Method Description
ConvertAttachment ( Attachment attachment ) : System.Net.Mail.Attachment
addToList ( ICollection list, EmailUser user ) : void
emailOK ( string email ) : bool
getUserList ( IEnumerable userList ) : string

Method Details

AddAttachment() public method

public AddAttachment ( Attachment attachment ) : void
attachment Attachment
return void

AddBCC() public method

public AddBCC ( EmailUser user ) : void
user EmailUser
return void

AddCC() public method

public AddCC ( EmailUser user ) : void
user EmailUser
return void

AddRecipient() public method

public AddRecipient ( EmailUser user ) : void
user EmailUser
return void

ClearAllRecipients() public method

public ClearAllRecipients ( ) : void
return void

ClearAttachments() public method

public ClearAttachments ( ) : void
return void

ClearBCCList() public method

public ClearBCCList ( ) : void
return void

ClearCCList() public method

public ClearCCList ( ) : void
return void

ClearRecipients() public method

public ClearRecipients ( ) : void
return void

MailMessage() protected method

protected MailMessage ( ) : System
return System

MailMessage() protected method

protected MailMessage ( bool isHtml ) : System
isHtml bool
return System

OnSending() protected method

protected OnSending ( MailMessageSendingEventArgs e ) : void
e MailMessageSendingEventArgs
return void

OnSent() protected method

protected OnSent ( MailMessageSentEventArgs e ) : void
e MailMessageSentEventArgs
return void

Send() public method

public Send ( SmtpServerInfo serverInfo ) : void
serverInfo SmtpServerInfo
return void