C# Class RemObjects.InternetPack.Messages.DefaultEncoder

Inheritance: IMessageEncoder
显示文件 Open project: remobjects/internetpack Class Usage Examples

Public Methods

Method Description
ContainsUnicodeSymbols ( String value ) : Int32
DecodeMessage ( MailMessage destination, Stream source ) : void
EncodeMessage ( MailMessage source, Stream destination ) : void
EncodeUtf8Base64 ( String value ) : String
NeedEncoding ( MailMessage message ) : System.Boolean

Private Methods

Method Description
ParseHeader ( MailMessage message, String header ) : void
RemoveQuotes ( String value ) : String
SetAddresses ( MessageAddresses address, String names ) : void
SplitMultiLine ( String source, Int32 length ) : String

Method Details

ContainsUnicodeSymbols() public static method

public static ContainsUnicodeSymbols ( String value ) : Int32
value String
return System.Int32

DecodeMessage() public method

public DecodeMessage ( MailMessage destination, Stream source ) : void
destination MailMessage
source Stream
return void

EncodeMessage() public method

public EncodeMessage ( MailMessage source, Stream destination ) : void
source MailMessage
destination Stream
return void

EncodeUtf8Base64() public static method

public static EncodeUtf8Base64 ( String value ) : String
value String
return String

NeedEncoding() public static method

public static NeedEncoding ( MailMessage message ) : System.Boolean
message MailMessage
return System.Boolean