Updated to the suggested additional ${xwiki.nl} and it's just been resaved (thanks Raffaello :) ) No difference - still no subject line. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sergiu Dumitriu Sent: 12 February 2008 16:49 To: XWiki Users Subject: Re: [xwiki-users] $xwiki.sendMessage Try using two $xwiki.nl Esbach, Brandon wrote:
Hi Guillaume,
I don't seem to be getting any subject when using this method; is there something else maybe restricting this?
---------------------------------------------------------------------- -- *From:* [email protected] [mailto:[email protected]] *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* <[email protected] <mailto:[email protected]>> 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:* [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]>] *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* <[email protected] <mailto:[email protected]>> 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:* [email protected]
<mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]>] *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:* [email protected]
<mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]>] *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* <[email protected] <mailto:[email protected]>> 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?
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users