Documentation
The complete API documentation is available from here.
The main entry point to the library is the Account class.
The source is available as a Visual Studio 2005 solution. You need to reference the Yahoo.Authentication.dll file, available from Yahoo! Developer Network (the .NET 2.0 version).
The Yahoo! Mail WebService methods are mapped to LibY!Mail methods as follows:
BatchExecute | (not yet implemented) |
CreateFolder | FolderCollection.AddNew |
DeleteMessages | YMailMessageCollection.RemoveRange, YMailMessageCollection.OnRemove |
DownloadAttachment | YAttachment.Download |
EmptyFolder | YMailMessageCollection.Clear (at YMailMessageCollection.OnClear) |
FetchExternalMail | Account.FetchExternalMail (fetch all acounts) |
FlagMessages | Folder.FlagMessages |
GetMessage | Folder.GetMessageContent |
GetMessageRawHeader | YMailMessage.GetHeaders (for a single message) |
GetUserData | Account.GetUserPreferences (incomplete) |
ListFolders | Account.InitFolders (at FolderCollection ctor) |
ListMessages | Folder.ListMessages (minimal) |
ListMessagesFromIds | not implemented, as it contradicts the philosophy of this library. |
MoveMessages | YMailMessage.Move, YMailMessageCollection.MoveMessages |
RemoveFolder | FolderCollection.Remove |
RenameFolder | Folder.set_Name |
ResetSpamFilter | (not yet implemented) |
SaveMessage | Folder.SaveMessage |
SaveRawMessage | Folder.ImportMessage |
SearchMessages | (not yet implemented) |
SendMessage | Account.SendMessage |
SetUserData | UserPreferences.SetData (incomplete) |
Upload Attachment | Utils.UploadAttachment (internal, called from Account.SendMessage) |