You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mail.html 1.8 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Ant User Manual</title>
  5. </head>
  6. <body>
  7. <h2><a name="mail">Mail</a></h2>
  8. <h3>Description</h3>
  9. <p>A task to send SMTP email.</p>
  10. <h3>Parameters</h3>
  11. <table border="1" cellpadding="2" cellspacing="0">
  12. <tr>
  13. <td valign="top"><b>Attribute</b></td>
  14. <td valign="top"><b>Description</b></td>
  15. <td align="center" valign="top"><b>Required</b></td>
  16. </tr>
  17. <tr>
  18. <td valign="top">from</td>
  19. <td valign="top">Email address of sender.</td>
  20. <td align="center" valign="top">Yes</td>
  21. </tr>
  22. <tr>
  23. <td valign="top">tolist</td>
  24. <td valign="top">Comma-separated list of recipients.</td>
  25. <td align="center" valign="top">Yes</td>
  26. </tr>
  27. <tr>
  28. <td valign="top">message</td>
  29. <td valign="top">Message to send in the body of the email.</td>
  30. <td align="center" valign="middle" rowspan="2">Yes</td>
  31. </tr>
  32. <tr>
  33. <td valign="top">files</td>
  34. <td valign="top">Filename(s) of text to send in the body of the email.
  35. Multiple files are comma-separated.</td>
  36. </tr>
  37. <tr>
  38. <td valign="top">mailhost</td>
  39. <td valign="top">Host name of the mail server.</td>
  40. <td align="center" valign="top">No, default to &quot;localhost&quot;</td>
  41. </tr>
  42. <tr>
  43. <td valign="top">subject</td>
  44. <td valign="top">Email subject line.</td>
  45. <td align="center" valign="top">No</td>
  46. </tr>
  47. </table>
  48. <h3>Examples</h3>
  49. <pre>
  50. &lt;mail from=&quot;me&quot; tolist=&quot;you&quot; subject=&quot;Results of nightly build&quot;
  51. files=&quot;build.log&quot;/&gt;</pre>
  52. <p>Sends an eMail from <i>me</i> to <i>you</i> with a subject of
  53. <i>Results of nightly build</i> and includes the contents of <i>build.log</i>
  54. in the body of the message.</p>
  55. <hr>
  56. <p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
  57. Reserved.</p>
  58. </body>
  59. </html>