Releases: danzuep/MailKitSimplified
Releases · danzuep/MailKitSimplified
v2.4.2
v2.4.1
v2.4.0
Changes:
- Added IMailReader Query(SearchQuery searchQuery) with SearchQuery.All by default.
- Added IMailReader.Items() MessageSummaryItems filter.
- Changed GetMimeMessagesAsync() to use SearchQuery by default so it is limited to 250, newest first.
- Enabled IMailFolderReader Skip and Take options when a SearchQuery is used as well.
- Added MailFolderReader.QueryBetweenDates, QueryKeywords and QueryMessageId methods.
- Changed MailFolderReader to use IImapReceiver instead of IMailFolderClient.
- Added InternetAddressList.Add() extension for email address strings.
- Added PackageIcon.
v2.3.0
Changes:
- Simplified GetMessageSummariesAsync _take count to endIndex calculation so -1 works now.
- Added optional SetCustomAuthentication method so that SMTP and IMAP can work with OAuth2 and OAuthBearer.
- Added optional RemoveAuthenticationMechanism method.
- Changed MailFolderMonitor SetProcessMailOnConnect to SetIgnoreExistingMailOnConnect, also added SetMessageSummaryItems to IMailFolderMonitor.
- Changed FolderMonitorOptions.ProcessMailOnConnect to IgnoreExistingMailOnConnect, and MessageSummaryParts to MessageSummaryItems.
- Added IMailFolderClient.GetFolder().
- Added QuoteForReply MimeMessage and IMessageSummary extension methods.
- Added MimeMessage GetReplyMessage and GetForwardMessage extension methods.
- Added IMessageSummary GetReplyMessage and GetForwardMessage extension methods.
v2.2.0
v2.1.0
Changes:
- Added fluent OnMessageArrival and departure methods to IMailFolderMonitor.
- Renamed MessageFilter to MessageSummaryParts.
- Changed IMailReader.Skip(continuous) to .Take(continuous) and added an example.
- Fixed idle monitor departure queue, added Copy(), improved cancellation.
- Updated NuGet packages.
v2.0.0: Merge pull request #7 from danzuep/feature/IdleClient
MAJOR version change: New Core Feature!
- Added IMailFolderMonitor which is an async idle client for receiving emails as they arrive in a mailbox.
- Added MailFolderMonitor FolderMonitorOptions including ProcessMailOnConnect with the default value set to true.
Breaking Changes:
- Simplified IImapReceiver by removing ReadFrom, Folder, and ConnectMailFolderClientAsync. Replaced them with MonitorFolder and MailFolderClient get methods, also renamed ConnectImapClientAsync to ConnectAuthenticatedImapClientAsync and changed DisconnectAsync to a Task for GetAwaiter().GetResult() to work.
- Changed MailFolderClient to use IImapReceiver instead of IMailFolder so it integrates with the MailFolderClient get method better, which also makes it easier to test.
- Merged the MailReader class into MailFolderReader instead of using inheritance.
- Fixed SetProtocolLog usage.
- Added protocolLogFileAppend which means the order of mailFolderName and protocolLog in ImapReceiver.Create() has been swapped.
- Renamed the MailKitSimplified.Core namespace to MailKitSimplified.Generic and added generic SmtpOptions.
- Cosole" log protocol now requires that as the key word.
- Removed mailFolderName parameter overrides from lower-level methods.
v1.1.4
Changes
- Added DefaultFrom
- Added inline port feature
- Added fluent host setup
- Added DI options configuration
Full Changelog: v1.1.3...v1.1.4
v1.1.3
Changes:
- Updated NuGet package dependencies to the latest versions.
- Fixed Dockerfile sample.
- Added IMailFolderReader usage.
- Updated MimeMessageReader to allow for IMessageSummary as well.
- Rewrote MailKitSimplified.Core and renamed it to Simplified MailKitSimplified.Generic.
- Added IEmailWriter.Copy() method for templates.
- File.Exists Attach check moved to TryAttach.
- Fixed attachment file stream disposal.
- Fixed MimeMessage BodyBuilder usage for linked resources.
- Added default cancellation token to TrySendAsync.