C# Class NBug.Helpers.EmailDestinationBuilder

Mostra file Open project: soygul/NBug Class Usage Examples

Public Methods

Method Description
Bcc ( System.Net.Mail.MailAddress blindCarbonCopyAddresses ) : EmailDestinationBuilder
Body ( string body ) : EmailDestinationBuilder
Build ( ) : string
Cc ( System.Net.Mail.MailAddress carbonCopyAddresses ) : EmailDestinationBuilder
EmailDestinationBuilder ( System.Net.Mail.MailAddress fromAddress, System.Net.Mail.MailAddress destinationAddresses, string serverName ) : System.Net
FromName ( string fromName ) : EmailDestinationBuilder
Priority ( MailPriority mailPriority ) : EmailDestinationBuilder
ReplyTo ( string replyTo ) : EmailDestinationBuilder
SendAttachments ( ) : EmailDestinationBuilder
Subject ( string subject ) : EmailDestinationBuilder
UseServer ( bool useSecureSocketLayer, NetworkCredential credential ) : EmailDestinationBuilder
UseServer ( bool useSecureSocketLayer, int port, NetworkCredential credential ) : EmailDestinationBuilder

Method Details

Bcc() public method

public Bcc ( System.Net.Mail.MailAddress blindCarbonCopyAddresses ) : EmailDestinationBuilder
blindCarbonCopyAddresses System.Net.Mail.MailAddress
return EmailDestinationBuilder

Body() public method

public Body ( string body ) : EmailDestinationBuilder
body string
return EmailDestinationBuilder

Build() public method

public Build ( ) : string
return string

Cc() public method

public Cc ( System.Net.Mail.MailAddress carbonCopyAddresses ) : EmailDestinationBuilder
carbonCopyAddresses System.Net.Mail.MailAddress
return EmailDestinationBuilder

EmailDestinationBuilder() public method

public EmailDestinationBuilder ( System.Net.Mail.MailAddress fromAddress, System.Net.Mail.MailAddress destinationAddresses, string serverName ) : System.Net
fromAddress System.Net.Mail.MailAddress
destinationAddresses System.Net.Mail.MailAddress
serverName string
return System.Net

FromName() public method

public FromName ( string fromName ) : EmailDestinationBuilder
fromName string
return EmailDestinationBuilder

Priority() public method

public Priority ( MailPriority mailPriority ) : EmailDestinationBuilder
mailPriority MailPriority
return EmailDestinationBuilder

ReplyTo() public method

public ReplyTo ( string replyTo ) : EmailDestinationBuilder
replyTo string
return EmailDestinationBuilder

SendAttachments() public method

public SendAttachments ( ) : EmailDestinationBuilder
return EmailDestinationBuilder

Subject() public method

public Subject ( string subject ) : EmailDestinationBuilder
subject string
return EmailDestinationBuilder

UseServer() public method

public UseServer ( bool useSecureSocketLayer, NetworkCredential credential ) : EmailDestinationBuilder
useSecureSocketLayer bool
credential System.Net.NetworkCredential
return EmailDestinationBuilder

UseServer() public method

public UseServer ( bool useSecureSocketLayer, int port, NetworkCredential credential ) : EmailDestinationBuilder
useSecureSocketLayer bool
port int
credential System.Net.NetworkCredential
return EmailDestinationBuilder