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
balraj singh 33balraj singh 33 

My email body is not switching to next line , Please suggest what is missing

String plainTextBody = 'The below Users are deactivated due 90 days of inactivity \n';
        
        
        for(Integer n = userr.size();n>0;n--){
               
               plainTextBody += i+')'+userr[n-1].name+'\n';
               i++;
               system.debug(+userr[n-1].name);
               system.debug(userr[n-1].username);
        }
         message.setplainTextBody(plainTextBody);
Tad Aalgaard 3Tad Aalgaard 3
Is it entering the for loop?