I have a requirement in my project to send a link in an email to Business User. On click of that link, the user should be directed to the home page of his Portal. This is an Intranet application and Business User will be in the corporate domain for accessing the email and application. I don't think Directed Web Access feature is required.
I tried building the URL using a function as shown below