/** * Versao sobrecarregada que recebe um EnhancedEmailBuilder * * @param enhancedEmailBuilder */ public void sendEmail(EnhancedEmailBuilder enhancedEmailBuilder) { verifyRecipients(enhancedEmailBuilder.getNormalRecipients()); sender.send(enhancedEmailBuilder); }
/** * Envia um email simples * * @param simpleEmailBuilder */ public void sendEmail(SimpleEmailBuilder simpleEmailBuilder) { verifyRecipient(simpleEmailBuilder.getEmailRecipient()); sender.send(simpleEmailBuilder); }