java.lang.Runnable
public class MassMailer
extends java.lang.Object
implements java.lang.Runnable
Constructor | Description |
---|---|
MassMailer(CMProps page,
java.lang.String domain,
java.util.Set<java.lang.String> oldEmailComplaints) |
Modifier and Type | Method | Description |
---|---|---|
void |
addMail(JournalEntry mail,
java.lang.String journalName,
java.lang.String overrideReplyTo,
boolean usePrivateRules) |
|
boolean |
deleteEmailIfOld(java.lang.String journalName,
java.lang.String key,
long date,
int days) |
|
java.lang.String |
domainName() |
|
int |
getEmailDays() |
|
int |
getFailureDays() |
|
protected boolean |
rightTimeToSendEmail(long email) |
|
void |
run() |
public MassMailer(CMProps page, java.lang.String domain, java.util.Set<java.lang.String> oldEmailComplaints)
public java.lang.String domainName()
public int getFailureDays()
public int getEmailDays()
public boolean deleteEmailIfOld(java.lang.String journalName, java.lang.String key, long date, int days)
public void addMail(JournalEntry mail, java.lang.String journalName, java.lang.String overrideReplyTo, boolean usePrivateRules)
protected boolean rightTimeToSendEmail(long email)
public void run()
run
in interface java.lang.Runnable