Hi Guillaume,
I don't seem to be getting any subject when using this method; is there
something else maybe restricting this?
------------------------------------------------------------------------
*From:* users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] *On
Behalf Of *Guillaume Lerouge
*Sent:* 06 February 2008 17:57
*To:* XWiki Users
*Subject:* Re: [xwiki-users] $xwiki.sendMessage
Actually you can. You need to write this in your email :
#set ($youremail = "Subject: Your Subject Here ${xwiki.nl
<http://xwiki.nl>} Your Email Content")
And then use $youremail in the $xwiki.sendMessage method as the email
content parameter.
Guillaume
On 06/02/2008, *Esbach, Brandon* <Esbachb(a)tycoelectronics.com
<mailto:Esbachb@tycoelectronics.com>> wrote:
No problem, I understand.
Is it likely that sendMessage will also become disabled? Or, is
there a way to add in the subject to the sendMessage call?
------------------------------------------------------------------------
*From:* users-bounces(a)xwiki.org <mailto:users-bounces@xwiki.org>
[mailto:users-bounces@xwiki.org <mailto:users-bounces@xwiki.org>]
*On Behalf Of *Guillaume Lerouge
*Sent:* 06 February 2008 17:48
*To:* XWiki Users
*Subject:* Re: [xwiki-users] $xwiki.sendMessage
Hi,
I think the plugin hasn't been activated on the farm for fear of
people using it to send spam messages... I talked to our admin about
it but he thinks it wouldn't be safe to do otherwise.
Sorry about that...
Guillaume
On 06/02/2008, *Esbach, Brandon* <Esbachb(a)tycoelectronics.com
<mailto:Esbachb@tycoelectronics.com>> wrote:
Hi,
Doesn't seem to be installed on the farm, do I need to
specifically request the plugin to be activated for the virtual
wiki, or do I need to import a xar for it to work?
------------------------------------------------------------------------
*From:* users-bounces(a)xwiki.org <mailto:users-bounces@xwiki.org>
[mailto:users-bounces@xwiki.org
<mailto:users-bounces@xwiki.org>] *On Behalf Of *Esbach, Brandon
*Sent:* 06 February 2008 15:46
*To:* XWiki Users
*Subject:* Re: [xwiki-users] $xwiki.sendMessage
Hi Guillaume,
This is for the hosted wiki on the wiki farm. Is this plugin
working there?
------------------------------------------------------------------------
*From:* users-bounces(a)xwiki.org <mailto:users-bounces@xwiki.org>
[mailto:users-bounces@xwiki.org
<mailto:users-bounces@xwiki.org>] *On Behalf Of *Guillaume Lerouge
*Sent:* 06 February 2008 15:06
*To:* XWiki Users
*Subject:* Re: [xwiki-users] $xwiki.sendMessage
Hi Brandon,
This method has been deprecated in favor of using the Mail
Sender Plugin
(
http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin ).
The plugin offers 4 different methods, some of them allows you
to set the subject of your email.
Check the example described at the end of the page for a live
example.
Guillaume
On 06/02/2008, *Esbach, Brandon* <Esbachb(a)tycoelectronics.com
<mailto:Esbachb@tycoelectronics.com>> wrote:
Hi guys..
Can't seem to find in the api any means to set the subject
for a message being sent using this method - is this not
possible?