W dniu 2 kwietnia 2009 14:27 użytkownik Guillaume Lerouge <
guilla...@xwiki.com> napisał:

>
> Try with:
> set($sender =
> ${context.user.substring(12)}...@${request.servername.substring(4)})
> Here I've put 4 as I assumed your domain name would be "www.something.com"
> If your domain name is "somethingelse.something.com" you'll need to change
> 4
> to 14 (the number of chars in "somethingelse" + the ".")
> Hope this helps,
> Guillaume
>

Well, I'm sure something like that should work, but I don't think it should
be resolved this way. I have e-mail addresses in Active Directory, my xwiki
users are being autocreated at first login (with LDAP authorization), they
have email field in xwiki filled in so I'll find out how to use it.

Thanks for your help,

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to