Peter, Haha!!! Apparently, it was easier than I thought. (I feel like a Geico commercial.) I just created a .py file using the code you provided me and placed it in the environment’s plugin directory and Voilà it works!!!
Thanks so much. -- Patty From: trac-users@googlegroups.com <trac-users@googlegroups.com> On Behalf Of Peter Suter Sent: Tuesday, March 5, 2019 2:28 PM To: trac-users@googlegroups.com Subject: Re: [Trac] Trac 1.2.3 Email Notification Issue -- Code for displaying To field Hi Patty, Could you elaborate a bit on why and when the current behavior is a problem for you? And what exactly would have to be different? Is it just this? from trac.core import Component, implements from trac.notification.api import IEmailDecorator from trac.notification.mail import set_header class ToFieldEmailDecorator(Component): implements(IEmailDecorator) # IEmailDecorator methods def decorate_message(self, event, message, charset): set_header(message, 'To', message['Cc'], charset) Many people seem to have all sorts of different special requirements for notifications, so such plugins are the only viable way how such individual tweaks can reasonably be supported. Cheers, Peter On 05.03.2019 20:11, Patty Cottrill wrote: Hi Peter, Thank you for your response. As I understand it, this is normal behavior in this new version of Trac. The only way to change the behavior is to create a plugin; you cannot configure it in trac.ini. This is unfortunate because I really don’t want to hassle with creating a plugin. Really would be nice to be able to configure it in trac.ini, like it was in previous versions of Trac. -- Patty From: trac-users@googlegroups.com<mailto:trac-users@googlegroups.com> <trac-users@googlegroups.com><mailto:trac-users@googlegroups.com> On Behalf Of Peter Suter Sent: Tuesday, March 5, 2019 1:49 PM To: trac-users@googlegroups.com<mailto:trac-users@googlegroups.com> Subject: Re: [Trac] Trac 1.2.3 Email Notification Issue Hi, I think this was discussed here: https://trac.edgewall.org/ticket/11002 If you need to change this, you could maybe try something similar as discussed here: https://trac.edgewall.org/wiki/CookBook/Notification/Email Let us know if that works for you. Cheers, Peter On 05.03.2019 17:51, Patty Cottrill wrote: Hi Trac Users, I recently deployed a new Trac 1.2.3 server and I’m having issues with the email notifications. The To field is blank, even though I enabled the use_public_cc<https://trac.edgewall.org/wiki/TracNotification>. Once I enabled it, the address that should be in the To field is being displayed in the CC field. Is this normal? I did not have this problem with Trac 0.12. Below is my configuration: [notification] admit_domains = ambiguous_char_width = single batch_subject_template = $prefix Batch modify: $tickets_descr email_sender = SmtpEmailSender ignore_domains = mime_encoding = none sendmail_path = sendmail smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = enabled smtp_from = myproj...@imci.net<mailto:myproj...@imci.net> smtp_from_author = disabled smtp_from_name = smtp_password = smtp_port = 25 smtp_replyto = pcottr...@imci.net<mailto:pcottr...@imci.net> smtp_server = xxxxxxxxx.imci.net smtp_subject_prefix = __default__ smtp_user = ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = enabled use_short_addr = disabled use_tls = enabled Thanks in advance. -- Patty -- Patty -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>. To post to this group, send email to trac-users@googlegroups.com<mailto:trac-users@googlegroups.com>. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>. To post to this group, send email to trac-users@googlegroups.com<mailto:trac-users@googlegroups.com>. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>. To post to this group, send email to trac-users@googlegroups.com<mailto:trac-users@googlegroups.com>. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>. To post to this group, send email to trac-users@googlegroups.com<mailto:trac-users@googlegroups.com>. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.