Email.html 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>Uses of Class org.apache.commons.mail.Email (Apache Commons Email 1.5 API)</title>
  8. <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="Uses of Class org.apache.commons.mail.Email (Apache Commons Email 1.5 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. </script>
  22. <noscript>
  23. <div>JavaScript is disabled on your browser.</div>
  24. </noscript>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <div class="topNav"><a name="navbar.top">
  27. <!-- -->
  28. </a>
  29. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  30. <a name="navbar.top.firstrow">
  31. <!-- -->
  32. </a>
  33. <ul class="navList" title="Navigation">
  34. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  35. <li><a href="../package-summary.html">Package</a></li>
  36. <li><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Class</a></li>
  37. <li class="navBarCell1Rev">Use</li>
  38. <li><a href="../package-tree.html">Tree</a></li>
  39. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  40. <li><a href="../../../../../index-all.html">Index</a></li>
  41. <li><a href="../../../../../help-doc.html">Help</a></li>
  42. </ul>
  43. </div>
  44. <div class="subNav">
  45. <ul class="navList">
  46. <li>Prev</li>
  47. <li>Next</li>
  48. </ul>
  49. <ul class="navList">
  50. <li><a href="../../../../../index.html?org/apache/commons/mail/class-use/Email.html" target="_top">Frames</a></li>
  51. <li><a href="Email.html" target="_top">No&nbsp;Frames</a></li>
  52. </ul>
  53. <ul class="navList" id="allclasses_navbar_top">
  54. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  55. </ul>
  56. <div>
  57. <script type="text/javascript"><!--
  58. allClassesLink = document.getElementById("allclasses_navbar_top");
  59. if(window==top) {
  60. allClassesLink.style.display = "block";
  61. }
  62. else {
  63. allClassesLink.style.display = "none";
  64. }
  65. //-->
  66. </script>
  67. </div>
  68. <a name="skip.navbar.top">
  69. <!-- -->
  70. </a></div>
  71. <!-- ========= END OF TOP NAVBAR ========= -->
  72. <div class="header">
  73. <h2 title="Uses of Class org.apache.commons.mail.Email" class="title">Uses of Class<br>org.apache.commons.mail.Email</h2>
  74. </div>
  75. <div class="classUseContainer">
  76. <ul class="blockList">
  77. <li class="blockList">
  78. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
  79. <caption><span>Packages that use <a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></span><span class="tabEnd">&nbsp;</span></caption>
  80. <tr>
  81. <th class="colFirst" scope="col">Package</th>
  82. <th class="colLast" scope="col">Description</th>
  83. </tr>
  84. <tbody>
  85. <tr class="altColor">
  86. <td class="colFirst"><a href="#org.apache.commons.mail">org.apache.commons.mail</a></td>
  87. <td class="colLast">
  88. <div class="block">Commons-Email aims to provide a API for sending email.</div>
  89. </td>
  90. </tr>
  91. </tbody>
  92. </table>
  93. </li>
  94. <li class="blockList">
  95. <ul class="blockList">
  96. <li class="blockList"><a name="org.apache.commons.mail">
  97. <!-- -->
  98. </a>
  99. <h3>Uses of <a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a> in <a href="../../../../../org/apache/commons/mail/package-summary.html">org.apache.commons.mail</a></h3>
  100. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
  101. <caption><span>Subclasses of <a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a> in <a href="../../../../../org/apache/commons/mail/package-summary.html">org.apache.commons.mail</a></span><span class="tabEnd">&nbsp;</span></caption>
  102. <tr>
  103. <th class="colFirst" scope="col">Modifier and Type</th>
  104. <th class="colLast" scope="col">Class and Description</th>
  105. </tr>
  106. <tbody>
  107. <tr class="altColor">
  108. <td class="colFirst"><code>class&nbsp;</code></td>
  109. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a></span></code>
  110. <div class="block">An HTML multipart email.</div>
  111. </td>
  112. </tr>
  113. <tr class="rowColor">
  114. <td class="colFirst"><code>class&nbsp;</code></td>
  115. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/ImageHtmlEmail.html" title="class in org.apache.commons.mail">ImageHtmlEmail</a></span></code>
  116. <div class="block">Small wrapper class on top of HtmlEmail which encapsulates the required logic
  117. to retrieve images that are contained in "&lt;img src=..</div>
  118. </td>
  119. </tr>
  120. <tr class="altColor">
  121. <td class="colFirst"><code>class&nbsp;</code></td>
  122. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">MultiPartEmail</a></span></code>
  123. <div class="block">A multipart email.</div>
  124. </td>
  125. </tr>
  126. <tr class="rowColor">
  127. <td class="colFirst"><code>class&nbsp;</code></td>
  128. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/SimpleEmail.html" title="class in org.apache.commons.mail">SimpleEmail</a></span></code>
  129. <div class="block">This class is used to send simple internet email messages without
  130. attachments.</div>
  131. </td>
  132. </tr>
  133. </tbody>
  134. </table>
  135. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  136. <caption><span>Methods in <a href="../../../../../org/apache/commons/mail/package-summary.html">org.apache.commons.mail</a> that return <a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></span><span class="tabEnd">&nbsp;</span></caption>
  137. <tr>
  138. <th class="colFirst" scope="col">Modifier and Type</th>
  139. <th class="colLast" scope="col">Method and Description</th>
  140. </tr>
  141. <tbody>
  142. <tr class="altColor">
  143. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  144. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String...-">addBcc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;emails)</code>
  145. <div class="block">Add an array of blind BCC recipients to the email.</div>
  146. </td>
  147. </tr>
  148. <tr class="rowColor">
  149. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  150. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-">addBcc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email)</code>
  151. <div class="block">Add a blind BCC recipient to the email.</div>
  152. </td>
  153. </tr>
  154. <tr class="altColor">
  155. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  156. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-java.lang.String-">addBcc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  157. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
  158. <div class="block">Add a blind BCC recipient to the email using the specified address and
  159. the specified personal name.</div>
  160. </td>
  161. </tr>
  162. <tr class="rowColor">
  163. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  164. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-java.lang.String-java.lang.String-">addBcc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  165. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  166. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</code>
  167. <div class="block">Add a blind BCC recipient to the email using the specified address,
  168. personal name, and charset encoding for the name.</div>
  169. </td>
  170. </tr>
  171. <tr class="altColor">
  172. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  173. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String...-">addCc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;emails)</code>
  174. <div class="block">Add an array of CC recipients to the email.</div>
  175. </td>
  176. </tr>
  177. <tr class="rowColor">
  178. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  179. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-">addCc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email)</code>
  180. <div class="block">Add a recipient CC to the email.</div>
  181. </td>
  182. </tr>
  183. <tr class="altColor">
  184. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  185. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-java.lang.String-">addCc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  186. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
  187. <div class="block">Add a recipient CC to the email using the specified address and the
  188. specified personal name.</div>
  189. </td>
  190. </tr>
  191. <tr class="rowColor">
  192. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  193. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-java.lang.String-java.lang.String-">addCc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  194. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  195. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</code>
  196. <div class="block">Add a recipient CC to the email using the specified address, personal
  197. name, and charset encoding for the name.</div>
  198. </td>
  199. </tr>
  200. <tr class="altColor">
  201. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  202. <td class="colLast"><span class="typeNameLabel">MultiPartEmail.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-javax.mail.internet.MimeMultipart-">addPart</a></span>(<a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeMultipart.html?is-external=true" title="class or interface in javax.mail.internet">MimeMultipart</a>&nbsp;multipart)</code>
  203. <div class="block">Add a new part to the email.</div>
  204. </td>
  205. </tr>
  206. <tr class="rowColor">
  207. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  208. <td class="colLast"><span class="typeNameLabel">MultiPartEmail.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-javax.mail.internet.MimeMultipart-int-">addPart</a></span>(<a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeMultipart.html?is-external=true" title="class or interface in javax.mail.internet">MimeMultipart</a>&nbsp;multipart,
  209. int&nbsp;index)</code>
  210. <div class="block">Add a new part to the email.</div>
  211. </td>
  212. </tr>
  213. <tr class="altColor">
  214. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  215. <td class="colLast"><span class="typeNameLabel">MultiPartEmail.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-java.lang.String-java.lang.String-">addPart</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;partContent,
  216. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;partContentType)</code>
  217. <div class="block">Add a new part to the email.</div>
  218. </td>
  219. </tr>
  220. <tr class="rowColor">
  221. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  222. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-">addReplyTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email)</code>
  223. <div class="block">Add a reply to address to the email.</div>
  224. </td>
  225. </tr>
  226. <tr class="altColor">
  227. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  228. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-java.lang.String-">addReplyTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  229. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
  230. <div class="block">Add a reply to address to the email using the specified address and
  231. the specified personal name.</div>
  232. </td>
  233. </tr>
  234. <tr class="rowColor">
  235. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  236. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-java.lang.String-java.lang.String-">addReplyTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  237. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  238. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</code>
  239. <div class="block">Add a reply to address to the email using the specified address,
  240. personal name, and charset encoding for the name.</div>
  241. </td>
  242. </tr>
  243. <tr class="altColor">
  244. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  245. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String...-">addTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;emails)</code>
  246. <div class="block">Add a list of TO recipients to the email.</div>
  247. </td>
  248. </tr>
  249. <tr class="rowColor">
  250. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  251. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-">addTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email)</code>
  252. <div class="block">Add a recipient TO to the email.</div>
  253. </td>
  254. </tr>
  255. <tr class="altColor">
  256. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  257. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-java.lang.String-">addTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  258. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
  259. <div class="block">Add a recipient TO to the email using the specified address and the
  260. specified personal name.</div>
  261. </td>
  262. </tr>
  263. <tr class="rowColor">
  264. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  265. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-java.lang.String-java.lang.String-">addTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  266. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  267. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</code>
  268. <div class="block">Add a recipient TO to the email using the specified address, personal
  269. name, and charset encoding for the name.</div>
  270. </td>
  271. </tr>
  272. <tr class="altColor">
  273. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  274. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setBcc-java.util.Collection-">setBcc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/InternetAddress.html?is-external=true" title="class or interface in javax.mail.internet">InternetAddress</a>&gt;&nbsp;aCollection)</code>
  275. <div class="block">Set a list of "BCC" addresses.</div>
  276. </td>
  277. </tr>
  278. <tr class="rowColor">
  279. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  280. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setBounceAddress-java.lang.String-">setBounceAddress</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email)</code>
  281. <div class="block">Set the "bounce address" - the address to which undeliverable messages
  282. will be returned.</div>
  283. </td>
  284. </tr>
  285. <tr class="altColor">
  286. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  287. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setCc-java.util.Collection-">setCc</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/InternetAddress.html?is-external=true" title="class or interface in javax.mail.internet">InternetAddress</a>&gt;&nbsp;aCollection)</code>
  288. <div class="block">Set a list of "CC" addresses.</div>
  289. </td>
  290. </tr>
  291. <tr class="rowColor">
  292. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  293. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-">setFrom</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email)</code>
  294. <div class="block">Set the FROM field of the email to use the specified address.</div>
  295. </td>
  296. </tr>
  297. <tr class="altColor">
  298. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  299. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-java.lang.String-">setFrom</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  300. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
  301. <div class="block">Set the FROM field of the email to use the specified address and the
  302. specified personal name.</div>
  303. </td>
  304. </tr>
  305. <tr class="rowColor">
  306. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  307. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-java.lang.String-java.lang.String-">setFrom</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;email,
  308. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  309. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</code>
  310. <div class="block">Set the FROM field of the email to use the specified address, personal
  311. name, and charset encoding for the name.</div>
  312. </td>
  313. </tr>
  314. <tr class="altColor">
  315. <td class="colFirst"><code>abstract <a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  316. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setMsg-java.lang.String-">setMsg</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</code>
  317. <div class="block">Define the content of the mail.</div>
  318. </td>
  319. </tr>
  320. <tr class="rowColor">
  321. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  322. <td class="colLast"><span class="typeNameLabel">MultiPartEmail.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/MultiPartEmail.html#setMsg-java.lang.String-">setMsg</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</code>
  323. <div class="block">Set the message of the email.</div>
  324. </td>
  325. </tr>
  326. <tr class="altColor">
  327. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  328. <td class="colLast"><span class="typeNameLabel">HtmlEmail.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/HtmlEmail.html#setMsg-java.lang.String-">setMsg</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</code>
  329. <div class="block">Set the message.</div>
  330. </td>
  331. </tr>
  332. <tr class="rowColor">
  333. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  334. <td class="colLast"><span class="typeNameLabel">SimpleEmail.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/SimpleEmail.html#setMsg-java.lang.String-">setMsg</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</code>
  335. <div class="block">Set the content of the mail.</div>
  336. </td>
  337. </tr>
  338. <tr class="altColor">
  339. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  340. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setReplyTo-java.util.Collection-">setReplyTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/InternetAddress.html?is-external=true" title="class or interface in javax.mail.internet">InternetAddress</a>&gt;&nbsp;aCollection)</code>
  341. <div class="block">Set a list of reply to addresses.</div>
  342. </td>
  343. </tr>
  344. <tr class="rowColor">
  345. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  346. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setSendPartial-boolean-">setSendPartial</a></span>(boolean&nbsp;sendPartial)</code>
  347. <div class="block">Sets whether the email is partially send in case of invalid addresses.</div>
  348. </td>
  349. </tr>
  350. <tr class="altColor">
  351. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  352. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setSSLCheckServerIdentity-boolean-">setSSLCheckServerIdentity</a></span>(boolean&nbsp;sslCheckServerIdentity)</code>
  353. <div class="block">Sets whether the server identity is checked as specified by RFC 2595</div>
  354. </td>
  355. </tr>
  356. <tr class="rowColor">
  357. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  358. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setSSLOnConnect-boolean-">setSSLOnConnect</a></span>(boolean&nbsp;ssl)</code>
  359. <div class="block">Sets whether SSL/TLS encryption should be enabled for the SMTP transport upon connection (SMTPS/POPS).</div>
  360. </td>
  361. </tr>
  362. <tr class="altColor">
  363. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  364. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setStartTLSEnabled-boolean-">setStartTLSEnabled</a></span>(boolean&nbsp;startTlsEnabled)</code>
  365. <div class="block">Set or disable the STARTTLS encryption.</div>
  366. </td>
  367. </tr>
  368. <tr class="rowColor">
  369. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  370. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setStartTLSRequired-boolean-">setStartTLSRequired</a></span>(boolean&nbsp;startTlsRequired)</code>
  371. <div class="block">Set or disable the required STARTTLS encryption.</div>
  372. </td>
  373. </tr>
  374. <tr class="altColor">
  375. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  376. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setSubject-java.lang.String-">setSubject</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aSubject)</code>
  377. <div class="block">Sets the email subject.</div>
  378. </td>
  379. </tr>
  380. <tr class="rowColor">
  381. <td class="colFirst"><code><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  382. <td class="colLast"><span class="typeNameLabel">Email.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/Email.html#setTo-java.util.Collection-">setTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/InternetAddress.html?is-external=true" title="class or interface in javax.mail.internet">InternetAddress</a>&gt;&nbsp;aCollection)</code>
  383. <div class="block">Set a list of "TO" addresses.</div>
  384. </td>
  385. </tr>
  386. </tbody>
  387. </table>
  388. </li>
  389. </ul>
  390. </li>
  391. </ul>
  392. </div>
  393. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  394. <div class="bottomNav"><a name="navbar.bottom">
  395. <!-- -->
  396. </a>
  397. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  398. <a name="navbar.bottom.firstrow">
  399. <!-- -->
  400. </a>
  401. <ul class="navList" title="Navigation">
  402. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  403. <li><a href="../package-summary.html">Package</a></li>
  404. <li><a href="../../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Class</a></li>
  405. <li class="navBarCell1Rev">Use</li>
  406. <li><a href="../package-tree.html">Tree</a></li>
  407. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  408. <li><a href="../../../../../index-all.html">Index</a></li>
  409. <li><a href="../../../../../help-doc.html">Help</a></li>
  410. </ul>
  411. </div>
  412. <div class="subNav">
  413. <ul class="navList">
  414. <li>Prev</li>
  415. <li>Next</li>
  416. </ul>
  417. <ul class="navList">
  418. <li><a href="../../../../../index.html?org/apache/commons/mail/class-use/Email.html" target="_top">Frames</a></li>
  419. <li><a href="Email.html" target="_top">No&nbsp;Frames</a></li>
  420. </ul>
  421. <ul class="navList" id="allclasses_navbar_bottom">
  422. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  423. </ul>
  424. <div>
  425. <script type="text/javascript"><!--
  426. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  427. if(window==top) {
  428. allClassesLink.style.display = "block";
  429. }
  430. else {
  431. allClassesLink.style.display = "none";
  432. }
  433. //-->
  434. </script>
  435. </div>
  436. <a name="skip.navbar.bottom">
  437. <!-- -->
  438. </a></div>
  439. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  440. <p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  441. </body>
  442. </html>