Hello

I think there are a wrong regexp in sendmail function in 
templates/shareinline.vm (xwiki 5.4.1)


#if ($serverName.matches('\[.*\]|(\d{1,3}+\.){3}+\d{1,3}+'))
    #if ("$!{xwiki.getXWikiPreference('admin_email')}" != '')
      #set ($sender = "$!{escapetool.q($sender)} 
<$!{xwiki.getXWikiPreference('admin_email')}>")
    #else
      #set ($sender = "$!{escapetool.q($sender)} <[email protected]>")
    #end
  #else
    #set ($sender = "$!{escapetool.q($sender)} <noreply@$!{serverName}>")
  #end

I filled admin_email and my my nameserver is "iwiki.cp2i.i2" but i tried with 
"iwiki.cp2i.fr" to.

I don't understand very well the regexp (writing a regexp is simpler to read 
it) but when I send a mail with xwiki I felt in "#set ($sender = 
"$!{escapetool.q($sender)} <noreply@$!{serverName}>")" condition...

Pascal B
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to