org.apache.tools.ant.taskdefs.emailClass MimeMailer
- java.lang.Object
- org.apache.tools.ant.taskdefs.email.Mailer
- org.apache.tools.ant.taskdefs.email.MimeMailer
public class MimeMailer extends MailerUses the JavaMail classes to send Mime format email.
- Since:
- Ant 1.5
Constructor Summary
Constructors Constructor and Description MimeMailer()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and 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
Method Detail
send
public void send()Send the email.
- Specified by:
send
in classMailer
- Throws:
BuildException
- if the email can't be sent.