mirror of
https://github.com/apache/ant.git
synced 2025-05-16 21:15:12 +00:00
(1) Make sure there is a Copyright notice on all visible files. (2) Make sure all years in which the file has been modified are listed. (3) Make sure the format is consistent, i.e. separate consecutive years with a dash, not a comma. When Stephane changed starteam.html it has been 2001 in France but 2002 in Australia - does that mean we add 2002 to the Copyright line or not? ;-) git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270652 13f79535-47bb-0310-9956-ffa450edef68
86 lines
2.6 KiB
HTML
86 lines
2.6 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<title>Mail</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2><a name="mail">Mail</a></h2>
|
|
<h3>Description</h3>
|
|
<p>A task to send SMTP email. Text and text files to include in the message
|
|
body may be specified. To send binary attachments the optional
|
|
<a href="../OptionalTasks/mimemail.html">MimeMail</a> task should be used instead</p>
|
|
|
|
<h3>Parameters</h3>
|
|
<table border="1" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td valign="top"><b>Attribute</b></td>
|
|
<td valign="top"><b>Description</b></td>
|
|
<td align="center" valign="top"><b>Required</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">from</td>
|
|
<td valign="top">Email address of sender.</td>
|
|
<td align="center" valign="top">Yes</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">tolist</td>
|
|
<td valign="top">Comma-separated list of recipients.</td>
|
|
<td align="center" valign="top">Yes</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">message</td>
|
|
<td valign="top">Message to send in the body of the email.</td>
|
|
<td align="center" valign="middle" rowspan="2">One of the two</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">files</td>
|
|
<td valign="top">Filename(s) of text to send in the body of the email.
|
|
Multiple files are comma-separated.</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">failonerror</td>
|
|
<td valign="top">flag to indicate whether to halt the build on
|
|
any error.</td>
|
|
<td align="center" valign="top">No, default is <I>true</I></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">includefilenames</td>
|
|
<td valign="top">Include filename(s) before file contents.
|
|
Valid only when the files attribute is specified.</td>
|
|
<td align="center" valign="top">No, default is <I>false</I></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td valign="top">mailhost</td>
|
|
<td valign="top">Host name of the mail server.</td>
|
|
<td align="center" valign="top">No, default is "localhost"</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">mailport</td>
|
|
<td valign="top">Port of the mail server.</td>
|
|
<td align="center" valign="top">No, default to SMTP default (25)</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">subject</td>
|
|
<td valign="top">Email subject line.</td>
|
|
<td align="center" valign="top">No</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Examples</h3>
|
|
<pre>
|
|
<mail from="me" tolist="you" subject="Results of nightly build"
|
|
files="build.log"/></pre>
|
|
<p>Sends an eMail from <i>me</i> to <i>you</i> with a subject of
|
|
<i>Results of nightly build</i> and includes the contents of <i>build.log</i>
|
|
in the body of the message.</p>
|
|
<hr>
|
|
<p align="center">Copyright © 2001-2002 Apache Software Foundation. All rights
|
|
Reserved.</p>
|
|
|
|
</body>
|
|
</html>
|
|
|