Пример #1
0
 /**
  * Versao sobrecarregada que recebe um EnhancedEmailBuilder
  *
  * @param enhancedEmailBuilder
  */
 public void sendEmail(EnhancedEmailBuilder enhancedEmailBuilder) {
   verifyRecipients(enhancedEmailBuilder.getNormalRecipients());
   sender.send(enhancedEmailBuilder);
 }
Пример #2
0
 /**
  * Envia um email simples
  *
  * @param simpleEmailBuilder
  */
 public void sendEmail(SimpleEmailBuilder simpleEmailBuilder) {
   verifyRecipient(simpleEmailBuilder.getEmailRecipient());
   sender.send(simpleEmailBuilder);
 }