From b9421dc80af485591a9c50cc8921f912e0def11e Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:05:40 -0700 Subject: Removing sources to replace with download links instead. Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/mail.html | 362 --------------------- 1 file changed, 362 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/mail.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/mail.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/mail.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/mail.html deleted file mode 100644 index b59633d6..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/mail.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - -Mail Task - - - - -

Mail

-

Description

-

- 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. -

-

- SMTP auth and SSL/TLS require JavaMail and are only available in MIME format. -

-

- Attachments may be sent using nested - <attachments> elements, which are path-like structures. This means - any filesystem based resource or resource - collection can be used to point to attachments. Prior to Apache Ant 1.7 - only <fileset> has been supported as a nested - element, you can still use this directly without an - <attachments> container. -

-

- Note: This task may depend on external libraries - that are not included in the Ant distribution. - See Library Dependencies - for more information. -

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
fromEmail address of sender.Either a from attribute, or a <from> - element.
replytoReplyto email address.No
tolistComma-separated list of recipients.At least one of these, or the - equivalent elements.
cclistComma-separated list of recipients to carbon copy
bcclistComma-separated list of recipients to blind carbon copy -
messageMessage to send in the body of the email.One of these or a - <message> element.
messagefileFile to send as the body of the email. Property - values in the file will be expanded.
messagefileinputencoding - Specifies the encoding of the input file. Please see - - Supported Encodings for a list of possible - values. Defaults to the platform's default character - encoding. Since Ant 1.9.4 - No
messagemimetypeThe content type of the message. The default is - text/plain.No
filesFiles to send as attachments to the email. Separate multiple - file names using a comma or space. You can also use <fileset> - elements to specify files.No
failonerrorflag to indicate whether to halt the build on - any error. The default value is true.No.
includefilenamesInclude filename(s) before file contents. - Valid only when the plain encoding is used. The default - value is false.No
mailhostHost name of the SMTP server. The default value is - localhost.No
mailportTCP port of the SMTP server. The default value is 25.No
useruser name for SMTP authYes, if SMTP auth is required on your SMTP server

- the email message will be then sent using Mime and requires JavaMail
passwordpassword for SMTP authYes, if SMTP auth is required on your SMTP server

- the email message will be then sent using Mime and requires JavaMail
ssl"true", "on" or "yes" accepted here

- indicates whether you need TLS/SSL
No
encodingSpecifies the encoding to use for the content of the email. - Values are mime, uu, plain, or - auto. The default value is auto. - uu or plain are not compatible with SMTP authNo
charsetCharacter set of the email.
- You can also set the charset in the message nested element.
- These options are mutually exclusive.
No
subjectEmail subject line.No
ignoreInvalidRecipientsBoolean. Whether the task should try to send - the message to as many recipients as possible and should only - fail if neither is reachable. Since Ant 1.8.0.No, default is false
enableStartTLS"true", "on" or "yes" accepted here

- whether the STARTTLS command used to switch to an encrypted - connection for authentication should be supported. Requires - JavaMail. Since Ant 1.8.0
No
- -

Note regarding the attributes containing email addresses

-Since Ant 1.6, the attributes from, replyto, tolist, cclist, bcclist -can contain email addresses of the form : - -

You need to enter the angle brackets as XML entities -&gt; and &lt;.

- -

Parameters specified as nested elements

- -

to / cc / bcc / from/ replyto

-

Adds an email address element. It takes the following attributes:

- - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
nameThe display name for the address.No
addressThe email address.Yes
- -

message

- -

Specifies the message to include in the email body. It takes the following -attributes:

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
srcThe file to use as the message.No
mimetypeThe content type to use for the message.No
charsetCharacter set of the message
- You can also set the charset as attribute of the enclosing mail task.
- These options are mutually exclusive.
No
inputencoding - Specifies the encoding of the input file. Please see - - Supported Encodings for a list of possible - values. Defaults to the platform's default character - encoding. Since Ant 1.9.4 - No
- -

If the src attribute is not specified, then text can be added -inside the <message> element. Property expansion will occur -in the message, whether it is specified as an external file or as text within -the <message> element.

- -

header

-

Since Ant 1.7, arbitrary mail headers can be added by - specifying these attributes on one or more nested header elements:

- - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
nameThe name associated with this mail header.Yes
valueThe value to assign to this mail header.Yes
- -

It is permissible to duplicate the name attribute amongst multiple headers. -

- -

Examples

- -
-<mail from="me"
-      tolist="you"
-      subject="Results of nightly build"
-      files="build.log"/>
-
- -

Sends an email from me to you with a subject of -Results of nightly build and includes the contents of the file -build.log in the body of the message.

- -
-<mail mailhost="smtp.myisp.com" mailport="1025" subject="Test build">
-  <from address="config@myisp.com"/>
-  <replyto address="me@myisp.com"/>
-  <to address="all@xyz.com"/>
-  <message>The ${buildname} nightly build has completed</message>
-  <attachments>
-    <fileset dir="dist">
-      <include name="**/*.zip"/>
-    </fileset>
-  </attachments>
-</mail>
-
- -

Sends an eMail from config@myisp.com to all@xyz.com with a subject of -Test Build. Replies to this email will go to me@myisp.com. -Any zip files from the dist directory are attached.  The -task will attempt to use JavaMail and fall back to UU encoding or no encoding in -that order depending on what support classes are available. ${buildname} -will be replaced with the buildname property's value.

- -
-<property name="line2" value="some_international_message"/>
-<echo message="${line2}"/>
-
-<mail mailhost="somehost@xyz.com" mailport="25" subject="Test build"  charset="utf-8">
-  <from address="me@myist.com"/>
-  <to address="all@xyz.com"/>
-  <message>some international text:${line2}</message>
-</mail>
-
- -

Sends an eMail from me@myisp.com to all@xyz.com with a subject of -Test Build, the message body being coded in UTF-8 - - - - - -- cgit 1.2.3-korg