This looks like it is related to your other message. I'd guess that the exceptions you are getting are the reason the variables aren't getting replaced. Just from what you've posted I'd say: I'm trying to set up my registration email (the XWiki Instance is running on my localhost) but the problem i'm having is that the when a user registers they recieve the following email: $xwiki.getDocument("XWiki.AccountValidation") Is returning either a null or nothing, which is causing the NPE in getExternalURL. Now, the question is do you get the error because of permissions or have you maybe not installed something you need for this capability? I'm just hypothesizing as I am extremely new to XWiki myself but I thought I'd reply because it might give you someplace to start looking! Good Luck, .:. Kevin -- View this message in context: http://n2.nabble.com/Registration-Email-Error-tp2151197p2151258.html Sent from the XWiki- Users mailing list archive at Nabble.com.