LibY!Mail  0.20
A .NET object oriented hierarchical encapsulation of the Yahoo! Mail web services.
YAttachment Class Reference

Represents an attachment of a mail message. More...

Inheritance diagram for YAttachment:

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.
 

Detailed Description

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.

See Also
Attachment

YAlternateView

Member Function Documentation

void Download ( Boolean  checkVirus)

Download the content of the attachment from the server.

Parameters
checkVirustrue 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.

Property Documentation

Boolean IsReferencedInline
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.

Boolean IsTruncated
get

Gets a value indicating if the message body is truncated.

true if it is truncated, false otherwise.


The documentation for this class was generated from the following file: