I have tried to form the email body of a singleemail message as below but it is giving Line break errors. Can someone help me here?
String body = 'Dear ' + OneMap.get(mycontact.ID).Rep_abv__r.Name + ', ';
body += '<br><br>What you need to know:';
body += '<br>ABS Incident '+ OneMap.get(mycontact.ID).Name +' has been closed';
body += '<br>To view your open incidents:<br>';
body += '<ol type="1">
<li> Log into the IREP app on your iPad and select “Compliance Incidents”</li>
<li> Select the “Closed Incidents” View in the Compliance Incidents Home Page.</li>
<li> Click the Incident ID to view your incidents<br></li>
</ol>';
body += 'If you need assistance, please call the Field Help Desk at 1-800-344-6776.<br>';