+ Start a Discussion
SV MSV M 

Display list elements in ordered/unordered list.

I have a list of Opportunities that needs to send through email. In the email body, the list elements are displaying as (Rec1, Rec2, Rec3)...
But, I want to display is as,
  • Rec1
  • Rec2
  • Rec3
Is there any possibility that I can change the Email body. Any help would be appreciated...
VinayVinay (Salesforce Developers) 
If you are using an HTML template then try below.
 
<ul>
    <li>Rec1</li>
    <li>Rec2</li>
    <li>Rec3</li>
</ul>

<ul> - Defines an unordered list
<ol> - Defines an ordered list

Thanks,
SV MSV M
I've already tried that in Email Body and I am not using any email templates. When I receive the email it is showing the list of elements like(Rec1, Rec2, Rec3) this... Is there any way can I do that from the class itself.