Hi List,
I tracked down the creation of the mail to WatchListJob.java
sendNotificationMessage().
I think the data I am looking for is in here
vcontext.put("documents", updatedDocuments);
Which is passed to there:
// Send message from template
emailService.sendMailFromTemplate(mailTemplate, sender,
emailAddr, null, null, language,
vcontext, context);
Do need to change the data before passing it to emailService, or can
change a template to do this (if yes which)?
Regards
Stefan
--
Stefan Völkel - Program Manager - Scalix - a Xandros Company
Platz der Einheit 1 - 60327 Frankfurt am Main - Germany
Office +49 69 97503 156 - Fax +49 69 97503 200 - Mobile +49 173 7 36 65
84
-----Original Message-----
From: Stefan Völkel
Sent: Donnerstag, 17. April 2008 14:53
To: 'users(a)xwiki.org'
Subject: WatchList and alternative URL
Hi List,
I need to alter the URL the contained in the WatchList eMails.
Our machine is behind am apache mod_proxy setup, this reachable like
this:
http://foo.com/
The URLs un the eMails will contain something like this:
http://foo.com:8081/
which is not reachable from the outside.
I tried to locate the spot where these URLs are generated, but was
unable to find it.
Can someone please point me to a place, document, ... where I can find
how to change this?
thanks in advance,
Stefan
--
Stefan Völkel - Program Manager - Scalix - a Xandros Company
Platz der Einheit 1 - 60327 Frankfurt am Main - Germany
Office +49 69 97503 156 - Fax +49 69 97503 200 - Mobile +49 173 7 36
65
84