org.apache.tools.ant.taskdefs

Class SendEmail


public class SendEmail
extends EmailTask

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 Summary

Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.email.EmailTask

EmailTask.Encoding

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.email.EmailTask

AUTO, MIME, PLAIN, UU

Fields inherited from class org.apache.tools.ant.Task

description, location, target, taskName, taskType, wrapper

Fields inherited from class org.apache.tools.ant.ProjectComponent

project

Method Summary

void
setMailport(Integer value)
Deprecated. Use setMailport(int) instead.

Methods inherited from class org.apache.tools.ant.taskdefs.email.EmailTask

addBcc, addCc, addFileset, addFrom, addMessage, addReplyTo, addTo, execute, getCharset, getIncludeFileNames, setBccList, setCcList, setCharset, setEncoding, setFailOnError, setFiles, setFrom, setIncludefilenames, setMailhost, setMailport, setMessage, setMessageFile, setMessageMimeType, setPassword, setReplyTo, setSSL, setSubject, setToList, setUser

Methods inherited from class org.apache.tools.ant.Task

execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

Methods inherited from class org.apache.tools.ant.ProjectComponent

getProject, log, log, setProject

Method Details

setMailport

public void setMailport(Integer value)

Deprecated. Use setMailport(int) instead.

Sets the mailport parameter of this build task.
Parameters:
value - mail port name.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.