[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    Re: [Trac] Re: Notification in Trac 1.2
From:       ivanelson <ivanelsonnunes () gmail ! com>
Date:       2017-02-24 14:00:22
Message-ID: 9f5f2759-7045-4425-a225-e92a0112260f () googlegroups ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Peter,

It worked. The "Announcer Plugin" html was more beautiful. :)

Thank you.

Em quinta-feira, 23 de fevereiro de 2017 18:06:46 UTC-3, Peter Suter 
escreveu:
> 
> On 23.02.2017 21:54, ivanelson wrote:
> 
> I put it in [notification]. After this came the error:
> 
> You should put them in the [notification-subscriber] section.
> 
> [notification-subscriber]
> always_notify_owner = TicketOwnerSubscriber
> always_notify_owner.format = text/html
> always_notify_cc = CarbonCopySubscriber
> always_notify_cc.format = text/html
> always_notify_previous_updater = TicketPreviousUpdatersSubscriber
> always_notify_previous_updater.format = text/html
> always_notify_updater = TicketUpdaterSubscriber
> always_notify_updater.format = text/html 
> 
> 2017-02-23 17:48:43,067 Trac[mail] DEBUG: EmailDistributor has found the 
> following formats capable of handling 'email' of 'ticket': text/html, tex
> t/plain 
> 2017-02-23 17:48:43,068 Trac[web_ui] ERROR: Failure sending notification 
> on change to ticket #14377: ConfigurationError: Cannot find implementatio
> n(s) of the <code>IEmailAddressResolver</code> interface named 
> <code>DefaultDomainEmailResolver</code>, 
> <code>SpecifiedEmailResolver</code>. Pleas
> e check that the Component is enabled or update the option 
> <code>[notification] email_address_resolvers</code> in trac.ini.
> 
> Here it is:
> 
> [notification] 
> email_address_resolvers = 
> SpecifiedEmailResolver,SessionEmailResolver,DefaultDomainEmailResolver 
> 
> These  don't exist in Trac. You should just have this:
> email_address_resolvers = SessionEmailResolver
> 
> 
> email_enabled = enabled 
> email_from = sist...@xxx.com.br <javascript:> 
> email_from_name = xx - Depto de TI .:: Ger. de Desenvolvimento ::. 
> email_replyto = 
> email_subject_prefix = __default__ 
> email_to = undisclosed-recipients: 
> mime_encoding = base64 
> smtp_port = 25 
> smtp_enabled = enabled 
> smtp_password = xxx
> smtp_server = xx 
> smtp_user = xx...@xxxa.com.br <javascript:> 
> use_public_cc = disabled 
> use_tls = enabled 
> always_notify_cc.format = text/html 
> always_notify_previous_updater.format = text/html 
> always_notify_updater.format = text/html 
> 
> [notification-subscriber] 
> always_notify_owner = TicketOwnerSubscriber 
> always_notify_cc = CarbonCopySubscriber 
> always_notify_previous_updater = TicketPreviousUpdatersSubscriber 
> always_notify_updater = TicketUpdaterSubscriber
> 
> 
> Em quinta-feira, 23 de fevereiro de 2017 16:51:49 UTC-3, Peter Suter 
> escreveu: 
> > 
> > On 23.02.2017 19:41, ivanelson wrote: 
> > > The documentation is not clear. 
> > > 
> > > I am currently like this: 
> > > 
> > > [notification] 
> > > ... 
> > > default_format =text/html 
> > This option does not exist. You can delete this line. 
> > https://trac.edgewall.org/wiki/TracIni#notification-section 
> > 
> > > [notification-subscriber] 
> > > always_notify_cc =CarbonCopySubscriber 
> > > always_notify_previous_updater =TicketPreviousUpdatersSubscriber 
> > > always_notify_updater =TicketUpdaterSubscriber 
> > This section configures the default subscriptions. 
> > If you have TracHtmlNotificationPlugin installed, you can add the 
> > following lines here: 
> > always_notify_cc.format = text/html 
> > always_notify_previous_updater.format = text/html 
> > always_notify_updater.format = text/html 
> > 
> > This format will then be used for these default subscriptions. 
> > If a user has custom rules defined that override default subscriptions, 
> > then the user's saved format preference will be used for emails 
> > triggered by that rule. 
> > 
> > Peter 
> > 
> > -- 
> 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+...@googlegroups.com <javascript:>.
> To post to this group, send email to trac-...@googlegroups.com 
> <javascript:>.
> 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+unsubscribe@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.


[Attachment #5 (text/html)]

<div dir="ltr"><div><br></div>Hi Peter,<div><br></div><div>It worked. The \
&quot;Announcer Plugin&quot; html was more beautiful. :)<div><br></div><div>Thank \
you.<br><br>Em quinta-feira, 23 de fevereiro de 2017 18:06:46 UTC-3, Peter Suter  \
escreveu:<blockquote class="gmail_quote" style="margin: 0;margin-left: \
0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>On 23.02.2017 21:54, ivanelson wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I put it in [notification]. After this came the
        error:</div>
    </blockquote>
    You should put them in the [notification-subscriber]
    section.<br>
    <br>
    [notification-subscriber]<br>
    <span><span>always_notify_owner =</span><span> TicketOwnerSubscriber</span><br>
      <span></span></span><span><span>always_notify_owner.format =
        text/html<br>
        always_notify_cc =</span><span> CarbonCopySubscriber</span></span><br>
    <span><span><span>always_notify_cc.format = text/html<br>
        </span></span><span>always_notify_previous_updater =</span><span>
        TicketPreviousUpdatersSubscrib<wbr>er</span></span><br>
    <span><span>always_notify_previous_<wbr>updater.format = text/html<br>
        always_notify_updater =</span><span> TicketUpdaterSubscriber</span><br>
    </span><span>
    </span>always_notify_updater.format = text/html
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><span><span>2017-02-23 17:48:43,067 Trac[mail] DEBUG:
              EmailDistributor has found the following formats capable
              of handling &#39;email&#39; of &#39;ticket&#39;: text/html, \
tex</span><br>  t/plain
            <br>
            2017-02-23 17:48:43,068 Trac[web_ui] ERROR: Failure sending
            notification on change to ticket #14377: ConfigurationError:
            Cannot find implementatio<br>
            n(s) of the &lt;code&gt;IEmailAddressResolver&lt;/<wbr>code&gt;
            interface named
            &lt;code&gt;<wbr>DefaultDomainEmailResolver&lt;/<wbr>code&gt;,
            &lt;code&gt;SpecifiedEmailResolver&lt;/<wbr>code&gt;. Pleas<br>
            e check that the Component is enabled or update the option
            &lt;code&gt;[notification]
            email_address_resolvers&lt;/code&gt; in trac.ini.</span></div>
        <div><span><br>
          </span></div>
        <div><span>Here it is:</span></div>
        <div><span><br>
          </span></div>
        <div><span><span>[notification]</span><span>
            </span><br>
            <span>email_address_resolvers =</span><span>
              SpecifiedEmailResolver,<wbr>SessionEmailResolver,<wbr>DefaultDomainEmailResolver
  </span><br>
          </span></div>
      </div>
    </blockquote>
    <span><span>These   don&#39;t exist in Trac. You should just have this:<br>
        email_address_resolvers =</span><span> SessionEmailResolver</span></span><br>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><span><span>email_enabled =</span><span> enabled
            </span><br>
            <span>email_from =</span><span> <a href="javascript:" target="_blank" \
gdf-obfuscated-mailto="Bu_W9o1NCAAJ" rel="nofollow" \
onmousedown="this.href=&#39;javascript:&#39;;return true;" \
onclick="this.href=&#39;javascript:&#39;;return true;">sist...@xxx.com.br</a>  \
</span><br>  <span>email_from_name =</span><span> xx - Depto de TI .::
              Ger. de Desenvolvimento ::.
            </span><br>
            <span>email_replyto =</span><span>  </span><br>
            <span>email_subject_prefix =</span><span> __default__
            </span><br>
            <span>email_to =</span><span> undisclosed-recipients:
            </span><br>
            <span>mime_encoding =</span><span> base64
            </span><br>
            <span>smtp_port =</span><span> </span><span>25</span><span>
            </span><br>
            <span>smtp_enabled =</span><span> enabled
            </span><br>
            <span>smtp_password =</span><span> xxx</span><br>
            <span>smtp_server =</span><span>  </span>xx<span>  </span><br>
            <span>smtp_user =</span><span> <a href="javascript:" target="_blank" \
gdf-obfuscated-mailto="Bu_W9o1NCAAJ" rel="nofollow" \
onmousedown="this.href=&#39;javascript:&#39;;return true;" \
onclick="this.href=&#39;javascript:&#39;;return true;">xx...@xxxa.com.br</a>  \
</span><br>  <span>use_public_cc =</span><span> disabled
            </span><br>
            <span>use_tls =</span><span> enabled
            </span><br>
            <span>always_notify_cc.format =</span><span> text/html
            </span><br>
            <span>always_notify_previous_<wbr>updater.format =</span><span>
              text/html
            </span><br>
            <span>always_notify_updater.format =</span><span> text/html
            </span><br>
            <br>
            <span>[notification-subscriber]</span><span>
            </span><br>
            <span>always_notify_owner =</span><span>
              TicketOwnerSubscriber
            </span><br>
            <span>always_notify_cc =</span><span> CarbonCopySubscriber
            </span><br>
            <span>always_notify_previous_updater =</span><span>
              TicketPreviousUpdatersSubscrib<wbr>er
            </span><br>
            <span>always_notify_updater =</span><span>
              TicketUpdaterSubscriber</span><br>
          </span><span>
            <br>
          </span><br>
          Em quinta-feira, 23 de fevereiro de 2017 16:51:49 UTC-3, Peter
          Suter escreveu:
          <blockquote class="gmail_quote">On 23.02.2017 19:41, ivanelson
            wrote:
            <br>
            &gt; The documentation is not clear.
            <br>
            &gt;
            <br>
            &gt; I am currently like this:
            <br>
            &gt;
            <br>
            &gt; [notification]
            <br>
            &gt; ...
            <br>
            &gt; default_format =text/html
            <br>
            This option does not exist. You can delete this line.
            <br>
            <a href="https://trac.edgewall.org/wiki/TracIni#notification-section" \
rel="nofollow" target="_blank" \
onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.edgewal \
l.org%2Fwiki%2FTracIni%23notification-section\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGYZqnkwovSWEkVE_tIZ3UPc8esbQ&#39;;return \
true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.edge \
wall.org%2Fwiki%2FTracIni%23notification-section\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGYZqnkwovSWEkVE_tIZ3UPc8esbQ&#39;;return \
true;">https://trac.edgewall.org/<wbr>wiki/TracIni#notification-<wbr>section</a>  \
<br>  <br>
            &gt; [notification-subscriber]
            <br>
            &gt; always_notify_cc =CarbonCopySubscriber
            <br>
            &gt; always_notify_previous_updater \
=<wbr>TicketPreviousUpdatersSubscrib<wbr>er  <br>
            &gt; always_notify_updater =TicketUpdaterSubscriber
            <br>
            This section configures the default subscriptions.
            <br>
            If you have TracHtmlNotificationPlugin installed, you can
            add the <br>
            following lines here:
            <br>
            always_notify_cc.format = text/html
            <br>
            always_notify_previous_<wbr>updater.format = text/html
            <br>
            always_notify_updater.format = text/html
            <br>
            <br>
            This format will then be used for these default
            subscriptions.
            <br>
            If a user has custom rules defined that override default
            subscriptions, <br>
            then the user&#39;s saved format preference will be used for
            emails <br>
            triggered by that rule.
            <br>
            <br>
            Peter
            <br>
            <br>
          </blockquote>
        </div>
      </div>
      -- <br>
      You received this message because you are subscribed to the Google
      Groups &quot;Trac Users&quot; group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a href="javascript:" target="_blank" \
gdf-obfuscated-mailto="Bu_W9o1NCAAJ" rel="nofollow" \
onmousedown="this.href=&#39;javascript:&#39;;return true;" \
onclick="this.href=&#39;javascript:&#39;;return \
true;">trac-users+...@<wbr>googlegroups.com</a>.<br>  To post to this group, send \
email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Bu_W9o1NCAAJ" \
rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" \
onclick="this.href=&#39;javascript:&#39;;return \
true;">trac-...@googlegroups.com</a>.<br>  Visit this group at <a \
href="https://groups.google.com/group/trac-users" target="_blank" rel="nofollow" \
onmousedown="this.href=&#39;https://groups.google.com/group/trac-users&#39;;return \
true;" onclick="this.href=&#39;https://groups.google.com/group/trac-users&#39;;return \
true;">https://groups.google.com/<wbr>group/trac-users</a>.<br>  For more options, \
visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" \
onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" \
onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return \
true;">https://groups.google.com/d/<wbr>optout</a>.<br>  </blockquote>
    <p><br>
    </p>
  </div>

</blockquote></div></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &quot;Trac \
Users&quot; group.<br /> To unsubscribe from this group and stop receiving emails \
from it, send an email to <a \
href="mailto:trac-users+unsubscribe@googlegroups.com">trac-users+unsubscribe@googlegroups.com</a>.<br \
/> To post to this group, send email to <a \
href="mailto:trac-users@googlegroups.com">trac-users@googlegroups.com</a>.<br /> \
Visit this group at <a \
href="https://groups.google.com/group/trac-users">https://groups.google.com/group/trac-users</a>.<br \
/> For more options, visit <a \
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br \
/>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic