Changes between Version 4 and Version 5 of TracDev/Proposals/AdvancedNotification/IEmailDecorator
- Timestamp:
- Oct 19, 2013, 9:34:40 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/Proposals/AdvancedNotification/IEmailDecorator
v4 v5 52 52 """Replaces the 'Reply-To' header for tickets with a dynamic email address. 53 53 54 Uses a new config option 'ticket_ email_from'.54 Uses a new config option 'ticket_smtp_replyto'. 55 55 """ 56 56 implements(IEmailDecorator) 57 57 58 ticket_ email_replyto = Option('notification', 'ticket_email_replyto', '__id__@localhost',58 ticket_smtp_replyto = Option('notification', 'ticket_smtp_replyto', '__id__@localhost', 59 59 """Reply-To address for ticket notification emails. 60 60 … … 70 70 71 71 The following implementations are part of core Trac: 72 * `trac.ticket.notification.mail.AlwaysEmailDecorator`: Implements ` email_always_cc` and `email_always_bcc` configuration options.72 * `trac.ticket.notification.mail.AlwaysEmailDecorator`: Implements `smtp_always_cc` and `smtp_always_bcc` configuration options. 73 73 74 74 Various other resolvers might be part of th:AnnouncerPlugin. … … 81 81 * DONE Removed continuation-passing style (`next_decorator()`). 82 82 * DONE Added `charset` parameter. 83 84 == Open Questions 85 86 === Make !AlwaysEmailDecorator a subscriber instead? 87 88 [th:comment:3:ticket:10676 For Announcer it was suggested] that the ''always CC / BCC'' configuration options should be implemented in a [wiki:INotificationSubscriber subscriber] instead, as in Announcer decorators can not influence email recipients. 89 90 The [source:psuter/trac/notification/mail.py@cefae24eeddf:243-244,247-250#L233 proposed changes] instead fix this deficiency of decorators. 91 92 Are there any other reasons to use a subscriber?