org.activemath.util
Class Email
java.lang.Object
org.activemath.util.Email
- All Implemented Interfaces:
- Runnable
public class Email
- extends Object
- implements Runnable
A simple class to send emails through an SMTP server using the simple rules of RFC 873 (or 823 ?).
Supports only plain text sending...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadDate
public final long loadDate
smtpServer
protected final String smtpServer
from
protected final String from
to
protected final String to
bcc
protected final String bcc
cc
protected final String cc
subject
protected final String subject
message
protected final String message
thread
public final Thread thread
exception
public Throwable exception
recipients
protected String[] recipients
thisLogCat
protected static Logger thisLogCat
Email
public Email(String smtpServer,
String from,
String to,
String bcc,
String cc,
String subject,
String message)
run
public void run()
- Specified by:
run in interface Runnable
prepareRecipients
protected void prepareRecipients()
main
public static void main(String[] args)