Re,
Done. It now works fine. Could it perhaps be suitable
to include the
sender email address for registered users and the Admin email for guest?
Right now guests are presented with "you need to be logged in to use this
feature" message bcoz I was afraid of spam thru too many people clicking
just to see what happens.
You can do it though :
1. remove the "#if($context.user == 'XWiki.XWikiGuest')" check and
its
related "#end"
2. replace the $sender line with : #if($context.user == '
XWiki.XWikiGuest') #set($sender = 'guest') #else #set($sender =
$context.user.substring(6)) #end
Guillaume