Class MimeMailer
java.lang.Object
org.apache.tools.ant.taskdefs.email.Mailer
org.apache.tools.ant.taskdefs.email.MimeMailer
public class MimeMailer extends Mailer
Uses the JavaMail classes to send Mime format email.
- Since:
- Ant 1.5
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MimeMailer()
-
Method Summary
Modifier and Type Method Description void
send()
Send the email.Methods inherited from class org.apache.tools.ant.taskdefs.email.Mailer
getDate, isPortExplicitlySpecified, isStartTLSEnabled, setBccList, setCcList, setEnableStartTLS, setFiles, setFrom, setHeaders, setHost, setIgnoreInvalidRecipients, setIncludeFileNames, setMessage, setPassword, setPort, setPortExplicitlySpecified, setReplyToList, setSSL, setSubject, setTask, setToList, setUser, shouldIgnoreInvalidRecipients
-
Constructor Details
-
MimeMailer
public MimeMailer()
-
-
Method Details
-
send
public void send()Send the email.- Specified by:
send
in classMailer
- Throws:
BuildException
- if the email can't be sent.
-