Methods Summary |
---|
protected final java.lang.String | getDate()Return the current Date in a format suitable for a SMTP date
header.
return DateUtils.getDateForHeader();
|
public abstract void | send()Send the email.
|
public void | setBccList(java.util.Vector list)Set the bcc addresses.
this.bccList = list;
|
public void | setCcList(java.util.Vector list)Set the cc addresses.
this.ccList = list;
|
public void | setFiles(java.util.Vector files)Set the files to attach.
this.files = files;
|
public void | setFrom(EmailAddress from)Set the address to send from.
this.from = from;
|
public void | setHeaders(java.util.Vector v)Set the generic headers to add to the email.
this.headers = v;
|
public void | setHost(java.lang.String host)Set the mail server.
// CheckStyle:VisibilityModifier ON
this.host = host;
|
public void | setIncludeFileNames(boolean b)Indicate whether filenames should be listed in the body.
this.includeFileNames = b;
|
public void | setMessage(Message m)Set the message.
this.message = m;
|
public void | setPassword(java.lang.String password)Set the password for smtp auth.
this.password = password;
|
public void | setPort(int port)Set the smtp port.
this.port = port;
|
public void | setReplyToList(java.util.Vector list)Set the replyto addresses.
this.replyToList = list;
|
public void | setSSL(boolean ssl)Set whether to send the mail through SSL.
this.SSL = ssl;
|
public void | setSubject(java.lang.String subject)Set the subject.
this.subject = subject;
|
public void | setTask(org.apache.tools.ant.Task task)Set the owning task.
this.task = task;
|
public void | setToList(java.util.Vector list)Set the to addresses.
this.toList = list;
|
public void | setUser(java.lang.String user)Set the user for smtp auth.
this.user = user;
|