18 package org.turro.acceptance;
20 import java.util.List;
21 import java.util.logging.Level;
22 import java.util.logging.Logger;
23 import org.apache.commons.mail.EmailException;
24 import org.turro.action.IAcceptance;
25 import org.turro.auth.Authentication;
26 import org.turro.elephant.context.ElephantContext;
27 import org.turro.i18n.I_;
28 import org.turro.mail.sender.MailPool;
29 import org.turro.plugin.contacts.ContactList;
30 import org.turro.plugin.contacts.IContact;
41 this.acceptance = acceptance;
45 if(acceptance ==
null)
return;
51 .put(
"acceptance", acceptance)
52 .sendTemplate(
"requiredAcceptance", getSubject());
53 }
catch (EmailException ex) {
58 private String getSubject() {
62 private List<IContact> getPlayers() {
63 ContactList list =
new ContactList();
AcceptanceMail(IAcceptance acceptance)
static IContact getIContact()
static String getSiteName()
static String logMsg(String msg)
static String format(String msg, Object... arguments)
static String get(String msg)
IMailSender setRoot(String root)
IElephantEntity getEntity()
IContact getIPetitioner()