LibY!Mail
0.20
A .NET object oriented hierarchical encapsulation of the Yahoo! Mail web services.
|
Represents an e-mail message in the Yahoo! Mail account. More...
Public Member Functions | |
NameValueCollection | GetHeaders () |
Gets the message raw headers from the server and populate MailMessage.Headers. | |
MessageRequest | GetMessageRequest (BlockImageOption blockImages, Boolean restrictCSS, String imageReplaceUrl, Boolean expandCidReference, Boolean enableWarnings) |
Gets a MessageRequest object to send to Folder.GetMessageContent. | |
void | Move (Folder destination) |
Move the message to another folder | |
Properties | |
DateTime | Date [get] |
Gets the date this message was received at | |
Boolean | DomainKey [get] |
Gets a value indicating if domain keys was used? | |
String | DomainKeyName [get] |
Gets the name of the domain key | |
Boolean | DomainKeySpecified [get] |
Gets a value indicating if DomainKey was specified? | |
Boolean | HasBlockedImages [get] |
Gets a value indicating if the message has blocked images | |
Boolean | HasBlockedImagesSpecified [get] |
Gets a value that indicates something | |
Uri | MessageLink [get] |
Gets an HTML link to this message on the web interface of Yahoo! Mail | |
Represents an e-mail message in the Yahoo! Mail account.
This class maps the Yahoo! Mail Web Services Message data type to the .NET MailMessage class, and adds properties and methods that Yahoo! adds.
The content of the message, including it's various properties, body and attachments, will be available only after calling the Folder.GetMessageContent method.
NameValueCollection GetHeaders | ( | ) |
Gets the message raw headers from the server and populate MailMessage.Headers.
MessageErrorException | There was an error retrieving headers for the message. |
Calls the GetMessageRawHeader web service the first time it is accessed. If the MailMessage.Headers collection is already populated, the method does nothing.
MessageRequest GetMessageRequest | ( | BlockImageOption | blockImages, |
Boolean | restrictCSS, | ||
String | imageReplaceUrl, | ||
Boolean | expandCidReference, | ||
Boolean | enableWarnings | ||
) |
Gets a MessageRequest object to send to Folder.GetMessageContent.
blockImages | One of BlockImageOptions members |
restrictCSS | true to restrice CSS, false otherwise |
imageReplaceUrl | A URL to replace the URL of images. |
expandCidReference | true to expand CID, false otherwise |
enableWarnings | true to enable warnings on forms, links and password fields, false to disable them. |
void Move | ( | Folder | destination | ) |
Move the message to another folder
destination | The destination folder |
MessageErrorException | There was an error moving the message. |
|
get |
Gets the date this message was received at
|
get |
Gets a value indicating if domain keys was used?
|
get |
Gets the name of the domain key
|
get |
Gets a value indicating if DomainKey was specified?
|
get |
Gets a value indicating if the message has blocked images
true if the message has images blocked from view, false otherwise.
|
get |
Gets a value that indicates something
true, otherwise false.
|
get |
Gets an HTML link to this message on the web interface of Yahoo! Mail
A URI that displays the message in a web browser
You can use this link to direct a user to the message in Yahoo! Mail web interface.