The Attachment type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Attachment(array<Byte>[]()[][]) |
Constructs a new
![]() Attachment |
![]() |
Attachment(String) |
Constructs a new
![]() Attachment |
![]() |
Attachment(MimeMessage) |
Constructs a new
![]() Attachment |
![]() |
Attachment(String, array<Byte>[]()[][]) |
Constructs a new
![]() Attachment |
![]() |
Attachment(String, String) |
Constructs a new
![]() Attachment |
![]() |
Attachment(String, array<Byte>[]()[][], String) |
Constructs a new
![]() Attachment |
Methods
Name | Description | |
---|---|---|
![]() |
AddHeader(MimeHeader) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddHeader(String, String) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddPart |
Adds part to multipart (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddReplaceHeader(MimeHeader) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddReplaceHeader(String, String) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
GetBody |
Gets decoded message body using character encoding
specified in charset attribute of Content-Type message header.
If no character encoding is defined then US-ASCII character
encoding is used. (Inherited from MimeMessage.) |
![]() |
GetBodyData |
Gets decoded message body as bytes. (Inherited from MimeMessage.) |
![]() |
GetBoundary |
Gets boundary used in this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetBoundaryWithoutQuotes |
Gets boundary used in this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetContentEncoding |
Gets Content-transfer-encoding header value for
this
![]() Attachment |
![]() |
GetContentTransferEncoding |
Gets the value of the Content-Transfer-Encoding
header for this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetContentType |
Gets content-type for this
![]() Attachment |
![]() |
GetFileData |
Gets decoded content of this
![]() Attachment |
![]() |
GetFilename |
Gets filename field contained in Content-Disposition
header attribute for this
![]() Attachment |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetHeader |
Returns named header specified by (Inherited from MimeMessage.)![]() name |
![]() |
GetHeaders()()()() |
Gets all mime headers for this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetHeaders(String) |
Gets all MIME headers for this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetHeaderValue |
Gets value for header specified by (Inherited from MimeMessage.)![]() name |
![]() |
GetMessage |
Gets contents of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() ![]() |
GetMIMEType |
Gets system MIME type.
|
![]() |
GetPart |
Gets specified part from this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetParts |
Gets parts of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetRawBodyData |
Gets message body as bytes. The body will be returned as is.
(Inherited from MimeMessage.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
RemoveHeader |
Removes specified header from this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
RemovePart |
Removes specified (Inherited from MimeMessage.)![]() index |
![]() |
RemoveParts |
Removes all parts from array.
(Inherited from MimeMessage.) |
![]() |
SetBody(array<Byte>[]()[][]) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetBody(FileStream) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetBody(String) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetBody(String, String) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetContentEncoding |
Sets Content-Transfer-Encoding header for
this
![]() Attachment |
![]() |
SetContentType |
Sets Content-Type header for this
![]() Attachment |
![]() |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() |
changed |
Tracks whether this MimeMessage has changed.
(Inherited from MimeMessage.) |
![]() |
characterEncoding |
The character encoding used in this MimeMessage.
(Inherited from MimeMessage.) |
![]() |
contentType |
The content type used in this MimeMessage.
(Inherited from MimeMessage.) |
![]() |
definedBody |
The message body as defined using the setBody method.
(Inherited from MimeMessage.) |
![]() |
headerIndex |
Tracks all MIME headers
(Inherited from MimeMessage.) |
![]() |
headers |
The set of MimeHeader for this MimeMessage.
(Inherited from MimeMessage.) |
![]() |
message |
The message contents as provided in the MimeMessage constructor.
(Inherited from MimeMessage.) |
![]() |
messageBody |
The message body as parsed in the MimeMessage constructor.
(Inherited from MimeMessage.) |
![]() |
parts |
The MIME parts for this MimeMessage.
(Inherited from MimeMessage.) |
Properties
Name | Description | |
---|---|---|
![]() |
ContentType |
Gets/Sets the Content-Type. (Inherited from MimeMessage.) |
![]() |
Message |
Gets/Sets the message. (Inherited from MimeMessage.) |