|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.util.MailSender
public class MailSender
This class spawns a thread which sends a mail to a set of recipients. Once all the mail has been sent, it can send an acknowledge.
Field Summary | |
---|---|
protected boolean |
ack
Deprecated. |
protected String |
ackContent
Deprecated. |
protected String |
ackSubject
Deprecated. |
protected static int |
ASCII_WIDTH
Deprecated. |
protected Set |
badEmailSet
Deprecated. |
protected String |
bcc
Deprecated. |
protected String[] |
content
Deprecated. |
protected long |
duration
Deprecated. |
protected Map |
files
Deprecated. |
protected String |
from
Deprecated. |
protected Set |
goodEmailSet
Deprecated. |
protected String |
host
Deprecated. |
protected String |
login
Deprecated. |
protected String |
password
Deprecated. |
protected int |
port
Deprecated. |
protected SortedSet |
recipientSet
Deprecated. |
static String |
REVISION
Deprecated. |
protected boolean |
sendAll
Deprecated. |
protected String |
subject
Deprecated. |
Constructor Summary | |
---|---|
MailSender(SortedSet recipientSet,
String bcc,
String from,
String subject,
String[] content,
boolean ack,
Map files)
Deprecated. |
|
MailSender(SortedSet recipientSet,
String bcc,
String from,
String subject,
String[] content,
boolean ack,
Map files,
String ackSubject,
String ackContent)
Deprecated. |
|
MailSender(SortedSet recipientSet,
String bcc,
String from,
String subject,
String[] content,
boolean ack,
Map files,
String ackSubject,
String ackContent,
String host,
int port,
String login,
String password)
Deprecated. |
Method Summary | |
---|---|
protected String |
getAckContent()
Deprecated. |
protected String |
getAckSubject()
Deprecated. |
void |
run()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
protected static final int ASCII_WIDTH
protected SortedSet recipientSet
protected String bcc
protected String from
protected String subject
protected String[] content
protected boolean ack
protected Map files
protected String host
protected int port
protected String login
protected String password
protected String ackSubject
protected String ackContent
protected Set goodEmailSet
protected Set badEmailSet
protected long duration
protected boolean sendAll
Constructor Detail |
---|
public MailSender(SortedSet recipientSet, String bcc, String from, String subject, String[] content, boolean ack, Map files)
recipientSet
- a Set of String emailbcc
- an email list sperated by ','from
- an emailsubject
- a subjectcontent
- a contentack
- send an acknoledgefiles
- a Map of attachement File / fileIdpublic MailSender(SortedSet recipientSet, String bcc, String from, String subject, String[] content, boolean ack, Map files, String ackSubject, String ackContent)
recipientSet
- a Set of String emailbcc
- an email list sperated by ','from
- an emailsubject
- a subjectcontent
- a contentack
- send an acknoledgefiles
- a Map of attachement File / fileIdackSubject
- the acknoledge SubjectackContent
- the acknoledge Contentpublic MailSender(SortedSet recipientSet, String bcc, String from, String subject, String[] content, boolean ack, Map files, String ackSubject, String ackContent, String host, int port, String login, String password)
recipientSet
- a Set of String emailbcc
- an email list sperated by ','from
- an emailsubject
- a subjectcontent
- a contentack
- send an acknoledgefiles
- a Map of attachement File / fileIdackSubject
- the acknoledge SubjectackContent
- the acknoledge Contenthost
- the smtp hostport
- the smtp portlogin
- the smtp loginpassword
- the smtp passwordMethod Detail |
---|
public void run()
run
in interface Runnable
protected String getAckSubject()
protected String getAckContent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |