id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 11854 Split up notification module Peter Suter Peter Suter "The [wiki:TracDev/Proposals/AdvancedNotification Advanced Notification proposal] starts with splitting up the [source:trunk/trac/notification.py trac/notification.py] into: * `trac/notification/api.py` containing interface definitions and the `NotificationSystem`. * `trac/notification/mail.py` containing any email specific functionality like `SmtpEmailSender` and `SendmailEmailSender`. * `trac/notification/compat.py` containing the `Notify` / `NotifyEmail` base classes. (After #3517 these and `TicketNotifyEmail` would only remain for backward compatibility and could be deprecated and removed later.) For backwards compatibility these will also be imported in `trac/notification/__init__.py`. I'd also like to extract some useful pieces from `NotifyEmail` and `TicketNotifyEmail` into `trac/notification/mail.py`, so we can reuse them later. The proposed changes are in [log:psuter@10277-10283 log:psuter@advanced-notification-preliminary-refactorings]." enhancement closed normal 1.1.3 notification normal fixed Ryan J Ollos Split up `trac.notification` module into a package of sub-modules. Added mail notification helper functions `create_charset`, `create_mime_text`, `create_header`, `create_message_id`, and class `RecipientMatcher` (matches recipients taking into account `admit_domains`, `ignore_domains`, `use_short_addr` and `smtp_default_domain` config options).