mirror of
https://github.com/apache/ant.git
synced 2025-05-16 04:55:33 +00:00
65 lines
1.8 KiB
HTML
65 lines
1.8 KiB
HTML
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Language" content="en-us">
|
||
|
<title>Ant User Manual</title>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<h2><a name="mail">Mail</a></h2>
|
||
|
<h3>Description</h3>
|
||
|
<p>A task to send SMTP email.</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">Yes</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">mailhost</td>
|
||
|
<td valign="top">Host name of the mail server.</td>
|
||
|
<td align="center" valign="top">No, default to "localhost"</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 © 2000,2001 Apache Software Foundation. All rights
|
||
|
Reserved.</p>
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
|