function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
uma52551.3972270309784705E12uma52551.3972270309784705E12 

mail.setPlainTextBody(Hyperlink)

Hi,
Can any one help me in modifying the following statment. I want a hyperlink under Team_Member__r.Name but i am not getting that. Please guide me. Thanks in advance!

mail.setPlainTextBody('This Message is to alert you that the Event Team Member named' + <a href ="https://cs8.salesforce.com/a0CL000000AnoUk" > eTMMap.get(eTM.Id).Team_Member__r.Name </a> + 'has been created/updated.');
Iqrar AhmedIqrar Ahmed
Hi uma,

Try
mail.setHtmlBody('This Message is to alert you that the Event Team Member named' + <a href ="https://cs8.salesforce.com/a0CL000000AnoUk" > eTMMap.get(eTM.Id).Team_Member__r.Name </a> + 'has been created/updated.');

Regards