LibY!Mail
0.20
A .NET object oriented hierarchical encapsulation of the Yahoo! Mail web services.
|
Represents an attachment of a mail message. More...
Public Member Functions | |
void | Download (Boolean checkVirus) |
Download the content of the attachment from the server. | |
Properties | |
Boolean | IsReferencedInline [get] |
Gets a value indicating if the message is referenced inline by another part of the message. | |
Boolean | IsTruncated [get] |
Gets a value indicating if the message body is truncated. | |
Represents an attachment of a mail message.
Encapsulates the Yahoo! Mail Web Services MessagePart data type when the MIME type is anything but multipart/alternative
.
The AttachmentBase.TransferEncoding property returns TransferEncoding.Unknown for the "8bit" encoding option of the web services MessagePart.encoding property.
void Download | ( | Boolean | checkVirus | ) |
Download the content of the attachment from the server.
checkVirus | true to check for viruses before downloading, false to download without checking for viruses. |
Only text and HTML attachments are downloaded with the message. other content types should be downloaded explicitly with this method.
After downloading, the attachment content will be available at the AttachmentBase.ContentStream property.
|
get |
Gets a value indicating if the message is referenced inline by another part of the message.
true if the message is referenced by another part, false otherwise.
|
get |
Gets a value indicating if the message body is truncated.
true if it is truncated, false otherwise.