C# 클래스 sidepop.Mime.MimeEntity

This class represents a Mime entity.
파일 보기 프로젝트 열기: Octopus-ITSM/sidepop 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BuildMultiPartMessage void
BuildSinglePartMessage void
CreateAlternateView System.Net.Mail.AlternateView
CreateAttachment System.Net.Mail.Attachment
DecodeBytes string
IsAttachment bool
SetContentType void
SetMessageBody void
ToMailMessageEx sidepop.Mail.SidePOPMailMessage

공개 메소드들

메소드 설명
AppendLineContent ( byte lineBytes ) : void

Append content to current content bytes and decoded message

CreateFrom ( byte bytes, bool throwOnInvalidContentType ) : MimeEntity

Create MimeEntity from the given bytes

GetEncoding ( ) : Encoding

Gets the body encoding.

GetEncoding ( string charset ) : Encoding

Returns the encoding to use for the specified charset

MimeEntity ( ) : System

Initializes a new instance of the MimeEntity class.

MimeEntity ( MimeEntity parent ) : System

Initializes a new instance of the MimeEntity class.

ToMailMessageEx ( ) : SidePOPMailMessage

Toes the mail message ex.

TrimBrackets ( string value ) : string

Trims the brackets.

비공개 메소드들

메소드 설명
BuildMultiPartMessage ( MimeEntity entity, SidePOPMailMessage message ) : void

Builds the multi part message.

BuildSinglePartMessage ( MimeEntity entity, SidePOPMailMessage message ) : void

Builds the single part message.

CreateAlternateView ( MimeEntity view ) : System.Net.Mail.AlternateView

Creates the alternate view.

CreateAttachment ( MimeEntity entity ) : System.Net.Mail.Attachment

Creates the attachment.

DecodeBytes ( byte buffer, Encoding encoding ) : string

Decodes the bytes.

IsAttachment ( MimeEntity child ) : bool
SetContentType ( ContentType contentType ) : void

Sets the type of the content.

SetMessageBody ( SidePOPMailMessage message, MimeEntity child ) : void

Sets the message body.

ToMailMessageEx ( MimeEntity entity ) : SidePOPMailMessage

Toes the mail message ex.

메소드 상세

AppendLineContent() 공개 메소드

Append content to current content bytes and decoded message
public AppendLineContent ( byte lineBytes ) : void
lineBytes byte
리턴 void

CreateFrom() 공개 정적인 메소드

Create MimeEntity from the given bytes
public static CreateFrom ( byte bytes, bool throwOnInvalidContentType ) : MimeEntity
bytes byte The bytes to read
throwOnInvalidContentType bool
리턴 MimeEntity

GetEncoding() 공개 메소드

Gets the body encoding.
public GetEncoding ( ) : Encoding
리턴 System.Text.Encoding

GetEncoding() 공개 정적인 메소드

Returns the encoding to use for the specified charset
public static GetEncoding ( string charset ) : Encoding
charset string
리턴 System.Text.Encoding

MimeEntity() 공개 메소드

Initializes a new instance of the MimeEntity class.
public MimeEntity ( ) : System
리턴 System

MimeEntity() 공개 메소드

Initializes a new instance of the MimeEntity class.
public MimeEntity ( MimeEntity parent ) : System
parent MimeEntity The parent.
리턴 System

ToMailMessageEx() 공개 메소드

Toes the mail message ex.
public ToMailMessageEx ( ) : SidePOPMailMessage
리턴 sidepop.Mail.SidePOPMailMessage

TrimBrackets() 공개 정적인 메소드

Trims the brackets.
public static TrimBrackets ( string value ) : string
value string The value.
리턴 string