smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
211 stars 115 forks source link

Added two new Methods "GetMessages" and "GetMailHeaders" #140

Open PriyaBasavaraj1 opened 6 years ago

PriyaBasavaraj1 commented 6 years ago

"GetMessages" This method Retrieves the set of mail messages with the specified unique identifiers (UIDs) using the specified set of header names. "GetMailHeaders" This method Retrieves the mail headers for the mail message with the specified unique identifiers (mailIds) in a single command, instead of sending the same command multiple times.

Both the methods improve performance in retrieving mail just by sending one command to fetch a set of mails instead of sending same command multiple times.