I am writing a turbogears app which sends emails to users when they are
accepted to join a moderated group. I want to enclose a link back to
the group in the e-mail. I am using turbomail to generate the e-mail
using a KID template, but when you use:
tg.url('/groupname')
The e-mail encodes the link only as the relative part of the e-mail.
I thought that what I needed was to set server.webpath =
'http://mysite.com' in the config, but that breaks lots of other stuff
but fixes the e-mail.
You end up with things like GET: /http://mysite.com/groupname Not Found
I was looking through the groups and found some refernces to a ticket
that was closed as won't fix that seemed to also deal with this.
So since that was closed as won't fix is there a best practice for
doing this kind of thing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---