Hi Tim,
On Jun 28, 12:54 pm, "Timothy Reed" <
tar...@gmail.com> wrote:
> Josh,
> Attached is the diff of peerReviewNew.py. This is a rough first cut at
> the email functionality. Right now it is a little specific for my sites
> needs. Like, we use NIS to login to Trac so to email any one I just need to
> append our email domain, the email messages are tailored to our process,
> etc.
>
> I added a couple of config file options under a codereview header:
> - smtpserver
> - email_domain
>
> For now the email messages are embedded into the code. I'd like to change
> that to be somehow configurable any suggestions?
>
> Please review and comment!
>
> Thank you,
> Tim
>
I had a quick look at it. It's ok, for the release version it would
definitely need templating. On the other hand I'd like to re-use any
existing functionality and there is already a mechanism for sending
emails within Trac. See NotifyEmail class and TicketNotifyEmail class
as examples. It would just need extending.
I'll add it as a new feature of 2.2 version.
Thanks again Tim!
--
Seb