Sending email from your wiki:
To configure this up, you must create a new property called smtp_login
in the preferences class. You cannot modify this normally in your
preferences screen, so access the objects directly and ensure this field
contains the fully qualified server name of your xwiki server; or other
details your SMTP server HELO request requires to validate.
Dev team: Unsure of where to add this to documentation. Ludovic has
code for the actual sending already done (which can be referenced), but
I'd say it's a fairly short footnote to initial configuration?
Other:
Still need a way to figure out part one. The initial email notifier
plugin is written for 0.9, and does not seem to work with any of the
existing beta versions at all.
Is there any way to make the xwiki system trigger a velocity macro or
groovy code when save is called? Short of using some cobbled javascript
to load a nominated page, I can't seem to find anything in the API that
will help with this - any pointers welcome.
________________________________
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: 13 February 2007 13:58
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Email Plugin - working?
Hi folks,
Wondering if anyone has had the opportunity to use the email plugin at
all on B2 or B3?
Specifically, I have two things I'm trying to acchieve:
1) Setup email notifications for changes to specific parts of a document
(eg, change occurred to field x in document y). Can't seem to find
anything specific for details on this,- if there is something there,
please point me in the right direction.
2) Emailing from the Xwiki system directly (documentation/faq for which
seems to have disappeared since I last used it to implement on 0.9.840).
The origional sample which Ludovic wrote up is still there
(
http://old.xwiki.org/xwiki/bin/view/Demo/SendMail
<http://old.xwiki.org/xwiki/bin/view/Demo/SendMail> on the old xwiki
site), but configuration documentation seems to be missing, From
recollection, there was a few things we had to configure - as the
default HELO is sent using a combination of fields which includes the
version number (and naturally gets rejected by our SMTP server as it is
not a valid email address supplied as origionator).
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305