Package org.apache.tools.ant.taskdefs
Class SendEmail
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.email.EmailTask
org.apache.tools.ant.taskdefs.SendEmail
- All Implemented Interfaces:
- Cloneable
A task to send SMTP email.
 This task can send mail using either plain
 text, UU encoding or Mime format mail depending on what is available.
 Attachments may be sent using nested FileSet
 elements.
- Since:
- Ant 1.2
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.email.EmailTaskEmailTask.Encoding
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tools.ant.taskdefs.email.EmailTaskaddBcc, addCc, addFileset, addFrom, addMessage, addReplyTo, addTo, createAttachments, createHeader, execute, getCharset, getIncludeFileNames, setBccList, setCcList, setCharset, setEnableStartTLS, setEncoding, setFailOnError, setFiles, setFrom, setIgnoreInvalidRecipients, setIncludefilenames, setMailhost, setMailport, setMessage, setMessageFile, setMessageFileInputEncoding, setMessageMimeType, setPassword, setReplyTo, setSSL, setSubject, setToList, setUserMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
SendEmailpublic SendEmail()
 
- 
- 
Method Details- 
setMailportDeprecated.since 1.5.x. UseEmailTask.setMailport(int)instead.Sets the mailport parameter of this build task.- Parameters:
- value- mail port name.
 
 
-