On Tuesday, June 7, 2016 at 1:00:25 AM UTC-7, Roger Oberholtzer wrote:
>
> On Tue, Jun 7, 2016 at 8:28 AM, Ryan Ollos <[email protected]> wrote: 
>
> > Looks correct. You can confirm by checking the entry_points: 
> > https://trac-hacks.org/browser/trachtmlnotificationplugin/0.12/setup.py 
>
> My mistake. I read it as starting with 'trach' for the trac part of 
> the name. I did look more than once. 
>
> The real problem is that when I use it with Trac 1.0.2, I get this in 
> the log, and no e-mail sent: 
>
> ConfigurationError: Cannot find an implementation of the 
> <tt>IEmailSender</tt> interface named 
> <tt>HtmlNotificationSmtpEmailSender</tt>. Please check that the 
> Component is enabled or update the option <tt>[announcer] 
> email_sender</tt> in trac.ini. 
>
> I have this in [components] 
>
> trachtmlnotification.* = enabled 
>
> and this in [announcer] 
>
> email_sender = HtmlNotificationSmtpEmailSender 
>
> When that did not work, I also added: 
>
> [notification] 
> email_sender = HtmlNotificationSmtpEmailSender 
>
>
> But still no joy. 


TracHtmlNotificationPlugin probably won't work with AnnouncerPlugin, but 
AnnouncerPlugin can send HTML notifications anyway.

The reason is, HtmlNotificationSmtpEmailSender implements the 
trac.notification.IEmailSender interface. This is a different interface 
from announcer.distributors.mail.IEmailSender:
https://trac-hacks.org/browser/announcerplugin/trunk/announcer/distributors/mail.py?rev=14867&marks=53#L53

- Ryan

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to