Skip to content

Releases: danzuep/MailKitSimplified

v2.11.13: Force a reconnection on second failure

25 Aug 03:37
Compare
Choose a tag to compare

What's Changed

  • #72 Added an option to re-throw exceptions from the idle client
  • #72 fix cancellation token disposed exception
  • #72 added an option to force a reconnection attempt

Full Changelog: v2.11.12...v2.11.13

v2.11.12

22 Aug 14:13
Compare
Choose a tag to compare

What's Changed

  • #73 Added a handler for the IMailFolder.MessageFlagsChanged event and re-read the email with the flag change event before returning it.

Full Changelog: v2.11.10...v2.11.12

v2.11.10

07 Aug 17:04
Compare
Choose a tag to compare

Change Warning

  • Removed IMailFolder.GetOrCreateSubfolderAsync() extension

What's Changed

  • #72 changed error to a warning
  • #72 added retry to arrival and departure queues
  • #72 added SocketException reconnect retry
  • #72 removed cancel from move

Full Changelog: v2.11.0...v2.11.10

v2.11.9

07 Aug 14:14
Compare
Choose a tag to compare

Change Warning

  • Simplified IMailReader.Top and Range to use int for #70

Changes

  • Added MailFolderClient.GetFolderAsync() with createIfNotFound option for #62
  • Added MailFolderClient.MoveToAsync() for #63
  • Added scoped service builder for #63
  • Fixes for moving messages in Gmail #68
  • Fix for null source folder scenario #70
  • Simplified the internal move methods #70

Merges

  • Removed MemoryCache from ImapReceiverFactory by new contributor @Sylar-A in #64
  • Bump xunit from 2.8.0 to 2.8.1 in /source by @dependabot in #66
  • Bump gittools/actions from 1.1.1 to 3.0.0 by @dependabot in #71

Full Changelog: v2.10.0...v2.11.9

v2.10.0

01 May 10:37
Compare
Choose a tag to compare

Changes

  • Remove methods marked with the Obsolete attribute for #52
  • Simplified target frameworks to Standard 2.0 or .NET 8.0
  • Updated packages to latest versions

v2.9.0

15 Dec 01:22
Compare
Choose a tag to compare

Changes:

  • .NET 8.0 Target Framework added
  • fixed EnumerateOr SearchQuery
  • added SASL AuthenticationMechanism property for #44
  • added CustomAuthenticationMethod to EmailOptions for #44
  • SocketOptions used in Email_Options.Create_ClientAsync for #45

v2.8.0

21 Oct 15:51
Compare
Choose a tag to compare

Breaking Changes

  • changed from MailFolderClient.SentFolder.Value to MailFolderClient.SentFolder by hiding the lazy usage

Changes

  • added MailFolderClient.DraftsFolder for #43
  • added Drafts, Junk, and Trash special folders (was just Sent before)
  • added Top() and Query().GetMimeMessageEnvelopeBodyAsync()
  • changed MailFolderReader.CoreMessageItems to ItemsForMimeMessages()
  • changed MailFolderReader.Query method overloads to extension methods
  • moved CoreMessageItems to IMailReader.ItemsForMimeMessages()

v2.7.0

28 Sep 02:15
Compare
Choose a tag to compare

Changes

  • Added Top() method to return results sorted from newest to oldest. This makes it easier to get up and running with this library, as all other results are sorted from oldest to newest in ascending order (MailKit default).

v2.6.1

18 Sep 14:09
Compare
Choose a tag to compare

Breaking Change

  • Use Range().GetMimeMessagesAsync() instead of GetMimeMessagesAsync(range) to match the package style.
  • Use Items().GetMessageSummariesAsync() instead of GetMessageSummariesAsync(itemFilter) to match the package style.
  • Query().GetMessageSummariesAsync() returns results in ascending order now to match MailKit. Use the Linq.Reverse() method to get results in descending order again. The reason for doing this was to speed up the results and to make the Query() behaviour the same as using Skip().Take() or Range().
  • Query().GetMimeMessagesAsync() returns results in ascending order now to match GetMessageSummariesAsync for the reasons above.

Changes

  • simplified GetMessageSummariesAsync, GetMimeMessagesAsync and SaveAllAsync for Range values
  • added the obsolete attribute to methods that should use Range instead
  • generate a new messageId for the MimeMessage template
  • removed the slow result filtering from Range().GetMessageSummariesAsync() #38
  • Query() now overwrites Take to 250 to match MailKit behaviour
  • added ImapReceiverFactory and MailFolderMonitorFactory singletons #39
  • added Func<IMessageSummary, Task> to MailFolderMonitorFactory

v2.5.5

25 Aug 14:43
Compare
Choose a tag to compare

Changes:

  • Fixed issue with setting EmailReceiver.ProtocolLog to make it equivalent to EmailReceiver.ProtocolLogger:FileWriter:FilePath.
  • Stopped disposing services resolved from the container #31
  • Fix for uint.MaxValue Arithmetic Operation Overflow #32
  • Changed from uniqueIds.OrderBy(u => u.Id).ToList() to new UniqueIdSet(uniqueIds, SortOrder.Ascending) based on advice from Jeffrey Stedfast.
  • Added ReadMail.Range(new UniqueId(startUid), new UniqueId(endUid)) #35
  • Download Mime Message without Attachment #35