C# 클래스 Papercut.Smtp.Mime.MimeEntity

This class represents a Mime entity.
파일 보기 프로젝트 열기: seif/papercut-web 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 MailMessageEx

공개 메소드들

메소드 설명
GetEncoding ( ) : Encoding

Gets the body encoding.

MimeEntity ( ) : System

Initializes a new instance of the MimeEntity class.

MimeEntity ( MimeEntity parent ) : System

Initializes a new instance of the MimeEntity class.

ToMailMessageEx ( ) : MailMessageEx

Toes the mail message ex.

TrimBrackets ( string value ) : string

Trims the brackets.

비공개 메소드들

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

Builds the multi part message.

BuildSinglePartMessage ( MimeEntity entity, MailMessageEx 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

The is attachment.

SetContentType ( ContentType contentType ) : void

Sets the type of the content.

SetMessageBody ( MailMessageEx message, MimeEntity child ) : void

Sets the message body.

ToMailMessageEx ( MimeEntity entity ) : MailMessageEx

Toes the mail message ex.

메소드 상세

GetEncoding() 공개 메소드

Gets the body encoding.
public GetEncoding ( ) : Encoding
리턴 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 ( ) : MailMessageEx
리턴 MailMessageEx

TrimBrackets() 공개 정적인 메소드

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