protected EmailCommunicationResults send(final Principal principal, final Ticket tokenTicket,
                                             final List<String> recipients, final RequestContext requestContext) {
        val results = FunctionUtils.doIf(communicationsManager.isMailSenderDefined(),
            () -> {
                val body = prepareEmailMessageBody(principal, tokenTicket, requestContext);
                return List.of(sendEmail(requestContext, body, principal, recipients));
            },
            () -> List.<EmailCommunicationResult>of(EmailCommunicationResult.builder().success(false).build())).get();
        return new EmailCommunicationResults(results);
    }
This is {@link CasSimpleMultifactorSendEmail}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-simple-mfa-core/src/main/java/org/apereo/cas/mfa/simple/web/flow/CasSimpleMultifactorSendEmail.java