100101102103104105106107108109110
email.setBody(render(options.getBodyTemplate(), context)); if (options.getReplyToEmail() != null) { email.setReplyTo(options.getReplyToEmail()); } server.send(email); } catch (MailException e) { log.error("Unable to send mail", e);
278279280281282283284285286287288
"\n" + append); SMTPMailServer mailServer = MailFactory.getServerManager().getDefaultSMTPMailServer(); if (mailServer != null) { mailServer.send(mail); } } catch (Exception ex) { ex.printStackTrace(); } }
267268269270271272273274275276277