When I'm adding an HTML URL into email body, it is not redirecting to the preferred location. This is the snippet, please tell me what am I doing wrong.

```
#location variable contains the URL
StringBuffer body = new StringBuffer("<html><body>Hi, <br/><br/>");
body.append("<p>"+cmts+"</p>");

#both the ways are not working, how to construct proper URL 
body.append("<br/><br/><a href=\"+location+\">" + location + "</a><br/>");
body.append("<br/><br/><a href="+location+">" +location + "</a><br/>");

#this is working as link only in OUTLOOK, but in other mail client it shows as plain text
body.append("<br/><br/>"+location);

```

URL: 

> 
> <http://host:port/weebApp/report/viewer.html#%2Fpublic%2FSamples%2FDashboards%2_FSample_report>
> 
> 
>