How to get Salesforce base/domain url in Visualforce Email template?
URL.getOrgDomainUrl() can be used in Salesforce Apex to get the base or domain URL. Sample Code: System.debug( 'Base or Domain URL is ' + URL.getOrgDomainUrl() ); Use the following method ....