I have been trying to include Salesforce base URL along with some static information in the html body of the email but to no luck. I keep getting error "Error: Compile Error: Unrecognized symbol '"', which is not a valid Apex identifier.".
I have even tried to put all the information between the html tags, but that too din't helped.
String body='';
body += '<html></br> </br>' + 'For more details, please review the Case HERE: '+
<a href="'+URL.getSalesforceBaseUrl()+'/'+instOfCase.id+'">'+instOfCase.CaseNumber+'</a>
body += '</body></html>';
mail.setHtmlBody(body);
Please suggest something.