Kilian CAVALOTTI wrote:

First, I missed mail notification of the newly created ticket. I tried to add
that feature to email2trac.py, by inserting the following two lines at the
end of the parse function :

        tn = TicketNotifyEmail(self.env)
        tn.notify(tkt, newticket=True)

but unfortunately, I got the following error, which seems to indicate that the
EmailNotification functions have to be called from a web context. I'm not
sure how to handle this.


We use the RSS feed for it, so if there is a new ticket it will show up. The hdf variable is used for web content. I do not know how it works, i'll have to examine it. We can always send email with an url in it.


And, second, I'd like to see the newly submitted ticket description UTF8-encoded. Currently, only the subject is translated, and I believe that transcoding the body wouldn't hurt. I added a hard-coded translation, but it's probably possible to do this a more generic way.

I will apply your patch in a new version.



--
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: [EMAIL PROTECTED]      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to