public void sendEmail ( final List < String > emailList , final String subject , final String body ) { if ( emailList != null && ! emailList . isEmpty ( ) ) { final EmailMessage message = super . createEmailMessage ( subject , "text/html" , emailList ) ; message . setBody ( body ) ; sendEmail ( message , true , "email message " + body ) ; } }
Send an email to the specified email list