org.apache.tools.ant.taskdefs

Class SendEmail

  • All Implemented Interfaces:
    java.lang.Cloneable


    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
    • Constructor Detail

      • SendEmail

        public SendEmail()
    • Method Detail

      • setMailport

        @Deprecated
        public void setMailport(java.lang.Integer value)
        Deprecated. since 1.5.x. Use EmailTask.setMailport(int) instead.
        Sets the mailport parameter of this build task.
        Parameters:
        value - mail port name.