Edgewall Software

Changes between Version 4 and Version 5 of TracDev/Proposals/AdvancedNotification/IEmailDecorator


Ignore:
Timestamp:
Oct 19, 2013, 9:34:40 AM (11 years ago)
Author:
Peter Suter
Comment:

Raise a question about AlwaysEmailDecorator

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/Proposals/AdvancedNotification/IEmailDecorator

    v4 v5  
    5252    """Replaces the 'Reply-To' header for tickets with a dynamic email address.
    5353
    54     Uses a new config option 'ticket_email_from'.
     54    Uses a new config option 'ticket_smtp_replyto'.
    5555    """
    5656    implements(IEmailDecorator)
    5757
    58     ticket_email_replyto = Option('notification', 'ticket_email_replyto', '__id__@localhost',
     58    ticket_smtp_replyto = Option('notification', 'ticket_smtp_replyto', '__id__@localhost',
    5959                """Reply-To address for ticket notification emails.
    6060
     
    7070
    7171The 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.
    7373
    7474Various other resolvers might be part of th:AnnouncerPlugin.
     
    8181   * DONE Removed continuation-passing style (`next_decorator()`).
    8282   * 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
     90The [source:psuter/trac/notification/mail.py@cefae24eeddf:243-244,247-250#L233 proposed changes] instead fix this deficiency of decorators.
     91
     92Are there any other reasons to use a subscriber?