sendGenericNotificationEmail will not work, because the URI has the screen element part also and hence UtilURL or FlexibleLocation will not be able to resolve URI.
I searched other examples and created the patch based on PARTY_REGIS_CONFIRM
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829376 13f79535-47bb-0310-9956-ffa450edef68