mirror of
https://github.com/draga79/NotiMail.git
synced 2026-04-26 14:15:54 +03:00
-
v1.1 Stable
released this
2024-11-18 22:31:14 +03:00 | 17 commits to main since this release📅 Originally published on GitHub: Mon, 18 Nov 2024 19:33:38 GMT
🏷️ Git tag created: Mon, 18 Nov 2024 19:31:14 GMTVersion 1.1
New Features:
-
Per-Account Notification Providers:
- Each email account can now have its own set of notification providers (Apprise, NTFY, Pushover, Gotify) configured separately from the global settings. This adds flexibility for account-specific notifications.
- Added a
parse_notification_providers()function to handle both global and account-specific notification setups.
-
Dynamic Notification Provider Configuration:
- Ability to define notification providers globally or per account. If an account lacks its own configuration, it falls back to the global providers.
- Enhanced handling of configuration sections in
config.ini, allowing for custom notifications per account.
-
Refactoring of the
IMAPHandlerClass:- Now supports a
notifierparameter to send notifications in case of errors or new messages, specific to the monitored account.
- Now supports a
Enhancements:
-
Configuration Validation:
- Simplified validation to ensure at least one section starting with
EMAILexists, supporting multiple accounts seamlessly.
- Simplified validation to ensure at least one section starting with
-
Improved Logging & Error Handling:
- Enhanced error notifications for each account. If a connection error occurs during idle, a notification is sent via the account-specific
notifier. - Increased granularity in notifications and logs to track specific connection errors and timeouts.
- Enhanced error notifications for each account. If a connection error occurs during idle, a notification is sent via the account-specific
-
Extended Support for NTFY Notifications:
- Improved support for NTFY, allowing optional authentication tokens for each configured URL.
- Streamlined configuration handling for NTFY, Pushover, and Gotify to support multiple notification services.
-
Thread-Safe Email Processing:
- Optimized the use of
Lockwithin theMultiIMAPHandlerclass to ensure thread-safe email processing without conflicts.
- Optimized the use of
Changes:
-
Configuration (
config.ini):- Added support for account-specific notifications (
EMAIL:accountsections). [APPRISE],[NTFY],[PUSHOVER], and[GOTIFY]sections can now be defined globally or for individual accounts.
- Added support for account-specific notifications (
-
Improved
test_config()Function:- Now tests both global and account-specific providers to ensure all configurations are correctly set up before starting the service.
-
Enhanced
multi_account_main()Function:- Improved handling of multiple accounts with account-specific notifications. Accounts without dedicated providers will use the global notifier if available.
Bug Fixes
- IMAP Connection Stability:
- Fixed an issue that caused premature disconnections from the
IDLEmode under certain network conditions.
- Fixed an issue that caused premature disconnections from the
Upgrade Notes:
-
Configuration:
- Update your
config.inito include new sections for account-specific notification providers. See the new config.ini.sample for reference. - Existing configurations will continue to work, but adding the new sections is recommended to take full advantage of the latest features.
- Update your
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-