ImageHtmlEmail.html 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  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>ImageHtmlEmail (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="ImageHtmlEmail (Apache Commons Email 1.5 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="class-use/ImageHtmlEmail.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../../../../index-all.html">Index</a></li>
  47. <li><a href="../../../../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/apache/commons/mail/ImageHtmlEmail.html" target="_top">Frames</a></li>
  57. <li><a href="ImageHtmlEmail.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li>Nested&nbsp;|&nbsp;</li>
  78. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">org.apache.commons.mail</div>
  96. <h2 title="Class ImageHtmlEmail" class="title">Class ImageHtmlEmail</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
  101. <li>
  102. <ul class="inheritance">
  103. <li><a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">org.apache.commons.mail.Email</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li><a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">org.apache.commons.mail.MultiPartEmail</a></li>
  107. <li>
  108. <ul class="inheritance">
  109. <li><a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">org.apache.commons.mail.HtmlEmail</a></li>
  110. <li>
  111. <ul class="inheritance">
  112. <li>org.apache.commons.mail.ImageHtmlEmail</li>
  113. </ul>
  114. </li>
  115. </ul>
  116. </li>
  117. </ul>
  118. </li>
  119. </ul>
  120. </li>
  121. </ul>
  122. <div class="description">
  123. <ul class="blockList">
  124. <li class="blockList">
  125. <hr>
  126. <br>
  127. <pre>public class <span class="typeNameLabel">ImageHtmlEmail</span>
  128. extends <a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a></pre>
  129. <div class="block"><p>Small wrapper class on top of HtmlEmail which encapsulates the required logic
  130. to retrieve images that are contained in "&lt;img src=../&gt;" elements in the HTML
  131. code. This is done by replacing all img-src-elements with "cid:"-entries and
  132. embedding images in the email.
  133. </p>
  134. <p>
  135. For local files the class tries to either load them via an absolute path or -
  136. if available - use a relative path starting from a base directory. For files
  137. that are not found locally, the implementation tries to download
  138. the element and link it in.
  139. </p>
  140. <p>
  141. The image loading is done by an instance of <code>DataSourceResolver</code>
  142. which has to be provided by the caller.
  143. </p></div>
  144. <dl>
  145. <dt><span class="simpleTagLabel">Since:</span></dt>
  146. <dd>1.3</dd>
  147. </dl>
  148. </li>
  149. </ul>
  150. </div>
  151. <div class="summary">
  152. <ul class="blockList">
  153. <li class="blockList">
  154. <!-- =========== FIELD SUMMARY =========== -->
  155. <ul class="blockList">
  156. <li class="blockList"><a name="field.summary">
  157. <!-- -->
  158. </a>
  159. <h3>Field Summary</h3>
  160. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  161. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  162. <tr>
  163. <th class="colFirst" scope="col">Modifier and Type</th>
  164. <th class="colLast" scope="col">Field and Description</th>
  165. </tr>
  166. <tr class="altColor">
  167. <td class="colFirst"><code>static <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></code></td>
  168. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html#REGEX_IMG_SRC">REGEX_IMG_SRC</a></span></code>
  169. <div class="block">Regexp for extracting <code>&lt;img&gt;</code> tags</div>
  170. </td>
  171. </tr>
  172. <tr class="rowColor">
  173. <td class="colFirst"><code>static <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></code></td>
  174. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html#REGEX_SCRIPT_SRC">REGEX_SCRIPT_SRC</a></span></code>
  175. <div class="block">regexp for extracting <code>&lt;script&gt;</code> tags</div>
  176. </td>
  177. </tr>
  178. </table>
  179. <ul class="blockList">
  180. <li class="blockList"><a name="fields.inherited.from.class.org.apache.commons.mail.HtmlEmail">
  181. <!-- -->
  182. </a>
  183. <h3>Fields inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a></h3>
  184. <code><a href="../../../../org/apache/commons/mail/HtmlEmail.html#CID_LENGTH">CID_LENGTH</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#html">html</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#inlineEmbeds">inlineEmbeds</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#inlineImages">inlineImages</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#text">text</a></code></li>
  185. </ul>
  186. <ul class="blockList">
  187. <li class="blockList"><a name="fields.inherited.from.class.org.apache.commons.mail.Email">
  188. <!-- -->
  189. </a>
  190. <h3>Fields inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></h3>
  191. <code><a href="../../../../org/apache/commons/mail/Email.html#ATTACHMENTS">ATTACHMENTS</a>, <a href="../../../../org/apache/commons/mail/Email.html#authenticator">authenticator</a>, <a href="../../../../org/apache/commons/mail/Email.html#bccList">bccList</a>, <a href="../../../../org/apache/commons/mail/Email.html#bounceAddress">bounceAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#ccList">ccList</a>, <a href="../../../../org/apache/commons/mail/Email.html#charset">charset</a>, <a href="../../../../org/apache/commons/mail/Email.html#content">content</a>, <a href="../../../../org/apache/commons/mail/Email.html#CONTENT_TYPE">CONTENT_TYPE</a>, <a href="../../../../org/apache/commons/mail/Email.html#contentType">contentType</a>, <a href="../../../../org/apache/commons/mail/Email.html#debug">debug</a>, <a href="../../../../org/apache/commons/mail/Email.html#EMAIL_BODY">EMAIL_BODY</a>, <a href="../../../../org/apache/commons/mail/Email.html#EMAIL_SUBJECT">EMAIL_SUBJECT</a>, <a href="../../../../org/apache/commons/mail/Email.html#emailBody">emailBody</a>, <a href="../../../../org/apache/commons/mail/Email.html#FILE_SERVER">FILE_SERVER</a>, <a href="../../../../org/apache/commons/mail/Email.html#fromAddress">fromAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#headers">headers</a>, <a href="../../../../org/apache/commons/mail/Email.html#hostName">hostName</a>, <a href="../../../../org/apache/commons/mail/Email.html#ISO_8859_1">ISO_8859_1</a>, <a href="../../../../org/apache/commons/mail/Email.html#KOI8_R">KOI8_R</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_DEBUG">MAIL_DEBUG</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_HOST">MAIL_HOST</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_PORT">MAIL_PORT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_AUTH">MAIL_SMTP_AUTH</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_CONNECTIONTIMEOUT">MAIL_SMTP_CONNECTIONTIMEOUT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_FROM">MAIL_SMTP_FROM</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_PASSWORD">MAIL_SMTP_PASSWORD</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_SOCKET_FACTORY_CLASS">MAIL_SMTP_SOCKET_FACTORY_CLASS</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_SOCKET_FACTORY_FALLBACK">MAIL_SMTP_SOCKET_FACTORY_FALLBACK</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_SOCKET_FACTORY_PORT">MAIL_SMTP_SOCKET_FACTORY_PORT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_TIMEOUT">MAIL_SMTP_TIMEOUT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_USER">MAIL_SMTP_USER</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_TRANSPORT_PROTOCOL">MAIL_TRANSPORT_PROTOCOL</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_TRANSPORT_TLS">MAIL_TRANSPORT_TLS</a>, <a href="../../../../org/apache/commons/mail/Email.html#message">message</a>, <a href="../../../../org/apache/commons/mail/Email.html#popBeforeSmtp">popBeforeSmtp</a>, <a href="../../../../org/apache/commons/mail/Email.html#popHost">popHost</a>, <a href="../../../../org/apache/commons/mail/Email.html#popPassword">popPassword</a>, <a href="../../../../org/apache/commons/mail/Email.html#popUsername">popUsername</a>, <a href="../../../../org/apache/commons/mail/Email.html#RECEIVER_EMAIL">RECEIVER_EMAIL</a>, <a href="../../../../org/apache/commons/mail/Email.html#RECEIVER_NAME">RECEIVER_NAME</a>, <a href="../../../../org/apache/commons/mail/Email.html#replyList">replyList</a>, <a href="../../../../org/apache/commons/mail/Email.html#SENDER_EMAIL">SENDER_EMAIL</a>, <a href="../../../../org/apache/commons/mail/Email.html#SENDER_NAME">SENDER_NAME</a>, <a href="../../../../org/apache/commons/mail/Email.html#sentDate">sentDate</a>, <a href="../../../../org/apache/commons/mail/Email.html#SMTP">SMTP</a>, <a href="../../../../org/apache/commons/mail/Email.html#smtpPort">smtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#socketConnectionTimeout">socketConnectionTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#socketTimeout">socketTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#ssl">ssl</a>, <a href="../../../../org/apache/commons/mail/Email.html#sslSmtpPort">sslSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#subject">subject</a>, <a href="../../../../org/apache/commons/mail/Email.html#TEXT_HTML">TEXT_HTML</a>, <a href="../../../../org/apache/commons/mail/Email.html#TEXT_PLAIN">TEXT_PLAIN</a>, <a href="../../../../org/apache/commons/mail/Email.html#tls">tls</a>, <a href="../../../../org/apache/commons/mail/Email.html#toList">toList</a>, <a href="../../../../org/apache/commons/mail/Email.html#US_ASCII">US_ASCII</a></code></li>
  192. </ul>
  193. </li>
  194. </ul>
  195. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  196. <ul class="blockList">
  197. <li class="blockList"><a name="constructor.summary">
  198. <!-- -->
  199. </a>
  200. <h3>Constructor Summary</h3>
  201. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  202. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  203. <tr>
  204. <th class="colOne" scope="col">Constructor and Description</th>
  205. </tr>
  206. <tr class="altColor">
  207. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html#ImageHtmlEmail--">ImageHtmlEmail</a></span>()</code>&nbsp;</td>
  208. </tr>
  209. </table>
  210. </li>
  211. </ul>
  212. <!-- ========== METHOD SUMMARY =========== -->
  213. <ul class="blockList">
  214. <li class="blockList"><a name="method.summary">
  215. <!-- -->
  216. </a>
  217. <h3>Method Summary</h3>
  218. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  219. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  220. <tr>
  221. <th class="colFirst" scope="col">Modifier and Type</th>
  222. <th class="colLast" scope="col">Method and Description</th>
  223. </tr>
  224. <tr id="i0" class="altColor">
  225. <td class="colFirst"><code>void</code></td>
  226. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html#buildMimeMessage--">buildMimeMessage</a></span>()</code>
  227. <div class="block">Does the work of actually building the MimeMessage.</div>
  228. </td>
  229. </tr>
  230. <tr id="i1" class="rowColor">
  231. <td class="colFirst"><code><a href="../../../../org/apache/commons/mail/DataSourceResolver.html" title="interface in org.apache.commons.mail">DataSourceResolver</a></code></td>
  232. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html#getDataSourceResolver--">getDataSourceResolver</a></span>()</code>
  233. <div class="block">Get the data source resolver.</div>
  234. </td>
  235. </tr>
  236. <tr id="i2" class="altColor">
  237. <td class="colFirst"><code>void</code></td>
  238. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html#setDataSourceResolver-org.apache.commons.mail.DataSourceResolver-">setDataSourceResolver</a></span>(<a href="../../../../org/apache/commons/mail/DataSourceResolver.html" title="interface in org.apache.commons.mail">DataSourceResolver</a>&nbsp;dataSourceResolver)</code>
  239. <div class="block">Set the data source resolver.</div>
  240. </td>
  241. </tr>
  242. </table>
  243. <ul class="blockList">
  244. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.mail.HtmlEmail">
  245. <!-- -->
  246. </a>
  247. <h3>Methods inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a></h3>
  248. <code><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-javax.activation.DataSource-java.lang.String-">embed</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-javax.activation.DataSource-java.lang.String-java.lang.String-">embed</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.io.File-">embed</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.io.File-java.lang.String-">embed</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.lang.String-java.lang.String-">embed</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.net.URL-java.lang.String-">embed</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#setHtmlMsg-java.lang.String-">setHtmlMsg</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#setMsg-java.lang.String-">setMsg</a>, <a href="../../../../org/apache/commons/mail/HtmlEmail.html#setTextMsg-java.lang.String-">setTextMsg</a></code></li>
  249. </ul>
  250. <ul class="blockList">
  251. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.mail.MultiPartEmail">
  252. <!-- -->
  253. </a>
  254. <h3>Methods inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">MultiPartEmail</a></h3>
  255. <code><a href="../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-javax.mail.internet.MimeMultipart-">addPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-javax.mail.internet.MimeMultipart-int-">addPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-java.lang.String-java.lang.String-">addPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-javax.activation.DataSource-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-javax.activation.DataSource-java.lang.String-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-org.apache.commons.mail.EmailAttachment-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-java.io.File-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-java.net.URL-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-java.net.URL-java.lang.String-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#createBodyPart--">createBodyPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#createMimeMultipart--">createMimeMultipart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#getContainer--">getContainer</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#getPrimaryBodyPart--">getPrimaryBodyPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#getSubType--">getSubType</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#init--">init</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#isBoolHasAttachments--">isBoolHasAttachments</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#isInitialized--">isInitialized</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setBoolHasAttachments-boolean-">setBoolHasAttachments</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setInitialized-boolean-">setInitialized</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setSubType-java.lang.String-">setSubType</a></code></li>
  256. </ul>
  257. <ul class="blockList">
  258. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.mail.Email">
  259. <!-- -->
  260. </a>
  261. <h3>Methods inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></h3>
  262. <code><a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String...-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-java.lang.String-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-java.lang.String-java.lang.String-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String...-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-java.lang.String-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-java.lang.String-java.lang.String-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addHeader-java.lang.String-java.lang.String-">addHeader</a>, <a href="../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-">addReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-java.lang.String-">addReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-java.lang.String-java.lang.String-">addReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String...-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-java.lang.String-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-java.lang.String-java.lang.String-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#createMimeMessage-javax.mail.Session-">createMimeMessage</a>, <a href="../../../../org/apache/commons/mail/Email.html#getBccAddresses--">getBccAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#getBounceAddress--">getBounceAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#getCcAddresses--">getCcAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#getFromAddress--">getFromAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#getHeader-java.lang.String-">getHeader</a>, <a href="../../../../org/apache/commons/mail/Email.html#getHeaders--">getHeaders</a>, <a href="../../../../org/apache/commons/mail/Email.html#getHostName--">getHostName</a>, <a href="../../../../org/apache/commons/mail/Email.html#getMailSession--">getMailSession</a>, <a href="../../../../org/apache/commons/mail/Email.html#getMimeMessage--">getMimeMessage</a>, <a href="../../../../org/apache/commons/mail/Email.html#getReplyToAddresses--">getReplyToAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSentDate--">getSentDate</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSmtpPort--">getSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSocketConnectionTimeout--">getSocketConnectionTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSocketTimeout--">getSocketTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSslSmtpPort--">getSslSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSubject--">getSubject</a>, <a href="../../../../org/apache/commons/mail/Email.html#getToAddresses--">getToAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSendPartial--">isSendPartial</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSSL--">isSSL</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSSLCheckServerIdentity--">isSSLCheckServerIdentity</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSSLOnConnect--">isSSLOnConnect</a>, <a href="../../../../org/apache/commons/mail/Email.html#isStartTLSEnabled--">isStartTLSEnabled</a>, <a href="../../../../org/apache/commons/mail/Email.html#isStartTLSRequired--">isStartTLSRequired</a>, <a href="../../../../org/apache/commons/mail/Email.html#isTLS--">isTLS</a>, <a href="../../../../org/apache/commons/mail/Email.html#send--">send</a>, <a href="../../../../org/apache/commons/mail/Email.html#sendMimeMessage--">sendMimeMessage</a>, <a href="../../../../org/apache/commons/mail/Email.html#setAuthentication-java.lang.String-java.lang.String-">setAuthentication</a>, <a href="../../../../org/apache/commons/mail/Email.html#setAuthenticator-javax.mail.Authenticator-">setAuthenticator</a>, <a href="../../../../org/apache/commons/mail/Email.html#setBcc-java.util.Collection-">setBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#setBounceAddress-java.lang.String-">setBounceAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#setCc-java.util.Collection-">setCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#setCharset-java.lang.String-">setCharset</a>, <a href="../../../../org/apache/commons/mail/Email.html#setContent-javax.mail.internet.MimeMultipart-">setContent</a>, <a href="../../../../org/apache/commons/mail/Email.html#setContent-java.lang.Object-java.lang.String-">setContent</a>, <a href="../../../../org/apache/commons/mail/Email.html#setDebug-boolean-">setDebug</a>, <a href="../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-">setFrom</a>, <a href="../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-java.lang.String-">setFrom</a>, <a href="../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-java.lang.String-java.lang.String-">setFrom</a>, <a href="../../../../org/apache/commons/mail/Email.html#setHeaders-java.util.Map-">setHeaders</a>, <a href="../../../../org/apache/commons/mail/Email.html#setHostName-java.lang.String-">setHostName</a>, <a href="../../../../org/apache/commons/mail/Email.html#setMailSession-javax.mail.Session-">setMailSession</a>, <a href="../../../../org/apache/commons/mail/Email.html#setMailSessionFromJNDI-java.lang.String-">setMailSessionFromJNDI</a>, <a href="../../../../org/apache/commons/mail/Email.html#setPopBeforeSmtp-boolean-java.lang.String-java.lang.String-java.lang.String-">setPopBeforeSmtp</a>, <a href="../../../../org/apache/commons/mail/Email.html#setReplyTo-java.util.Collection-">setReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSendPartial-boolean-">setSendPartial</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSentDate-java.util.Date-">setSentDate</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSmtpPort-int-">setSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSocketConnectionTimeout-int-">setSocketConnectionTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSocketTimeout-int-">setSocketTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSSL-boolean-">setSSL</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSSLCheckServerIdentity-boolean-">setSSLCheckServerIdentity</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSSLOnConnect-boolean-">setSSLOnConnect</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSslSmtpPort-java.lang.String-">setSslSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#setStartTLSEnabled-boolean-">setStartTLSEnabled</a>, <a href="../../../../org/apache/commons/mail/Email.html#setStartTLSRequired-boolean-">setStartTLSRequired</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSubject-java.lang.String-">setSubject</a>, <a href="../../../../org/apache/commons/mail/Email.html#setTLS-boolean-">setTLS</a>, <a href="../../../../org/apache/commons/mail/Email.html#setTo-java.util.Collection-">setTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#toInternetAddressArray-java.util.List-">toInternetAddressArray</a>, <a href="../../../../org/apache/commons/mail/Email.html#updateContentType-java.lang.String-">updateContentType</a></code></li>
  263. </ul>
  264. <ul class="blockList">
  265. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  266. <!-- -->
  267. </a>
  268. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
  269. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
  270. </ul>
  271. </li>
  272. </ul>
  273. </li>
  274. </ul>
  275. </div>
  276. <div class="details">
  277. <ul class="blockList">
  278. <li class="blockList">
  279. <!-- ============ FIELD DETAIL =========== -->
  280. <ul class="blockList">
  281. <li class="blockList"><a name="field.detail">
  282. <!-- -->
  283. </a>
  284. <h3>Field Detail</h3>
  285. <a name="REGEX_IMG_SRC">
  286. <!-- -->
  287. </a>
  288. <ul class="blockList">
  289. <li class="blockList">
  290. <h4>REGEX_IMG_SRC</h4>
  291. <pre>public static final&nbsp;<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> REGEX_IMG_SRC</pre>
  292. <div class="block">Regexp for extracting <code>&lt;img&gt;</code> tags</div>
  293. <dl>
  294. <dt><span class="seeLabel">See Also:</span></dt>
  295. <dd><a href="../../../../constant-values.html#org.apache.commons.mail.ImageHtmlEmail.REGEX_IMG_SRC">Constant Field Values</a></dd>
  296. </dl>
  297. </li>
  298. </ul>
  299. <a name="REGEX_SCRIPT_SRC">
  300. <!-- -->
  301. </a>
  302. <ul class="blockListLast">
  303. <li class="blockList">
  304. <h4>REGEX_SCRIPT_SRC</h4>
  305. <pre>public static final&nbsp;<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> REGEX_SCRIPT_SRC</pre>
  306. <div class="block">regexp for extracting <code>&lt;script&gt;</code> tags</div>
  307. <dl>
  308. <dt><span class="seeLabel">See Also:</span></dt>
  309. <dd><a href="../../../../constant-values.html#org.apache.commons.mail.ImageHtmlEmail.REGEX_SCRIPT_SRC">Constant Field Values</a></dd>
  310. </dl>
  311. </li>
  312. </ul>
  313. </li>
  314. </ul>
  315. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  316. <ul class="blockList">
  317. <li class="blockList"><a name="constructor.detail">
  318. <!-- -->
  319. </a>
  320. <h3>Constructor Detail</h3>
  321. <a name="ImageHtmlEmail--">
  322. <!-- -->
  323. </a>
  324. <ul class="blockListLast">
  325. <li class="blockList">
  326. <h4>ImageHtmlEmail</h4>
  327. <pre>public&nbsp;ImageHtmlEmail()</pre>
  328. </li>
  329. </ul>
  330. </li>
  331. </ul>
  332. <!-- ============ METHOD DETAIL ========== -->
  333. <ul class="blockList">
  334. <li class="blockList"><a name="method.detail">
  335. <!-- -->
  336. </a>
  337. <h3>Method Detail</h3>
  338. <a name="getDataSourceResolver--">
  339. <!-- -->
  340. </a>
  341. <ul class="blockList">
  342. <li class="blockList">
  343. <h4>getDataSourceResolver</h4>
  344. <pre>public&nbsp;<a href="../../../../org/apache/commons/mail/DataSourceResolver.html" title="interface in org.apache.commons.mail">DataSourceResolver</a>&nbsp;getDataSourceResolver()</pre>
  345. <div class="block">Get the data source resolver.</div>
  346. <dl>
  347. <dt><span class="returnLabel">Returns:</span></dt>
  348. <dd>the resolver</dd>
  349. </dl>
  350. </li>
  351. </ul>
  352. <a name="setDataSourceResolver-org.apache.commons.mail.DataSourceResolver-">
  353. <!-- -->
  354. </a>
  355. <ul class="blockList">
  356. <li class="blockList">
  357. <h4>setDataSourceResolver</h4>
  358. <pre>public&nbsp;void&nbsp;setDataSourceResolver(<a href="../../../../org/apache/commons/mail/DataSourceResolver.html" title="interface in org.apache.commons.mail">DataSourceResolver</a>&nbsp;dataSourceResolver)</pre>
  359. <div class="block">Set the data source resolver.</div>
  360. <dl>
  361. <dt><span class="paramLabel">Parameters:</span></dt>
  362. <dd><code>dataSourceResolver</code> - the resolver</dd>
  363. </dl>
  364. </li>
  365. </ul>
  366. <a name="buildMimeMessage--">
  367. <!-- -->
  368. </a>
  369. <ul class="blockListLast">
  370. <li class="blockList">
  371. <h4>buildMimeMessage</h4>
  372. <pre>public&nbsp;void&nbsp;buildMimeMessage()
  373. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  374. <div class="block">Does the work of actually building the MimeMessage.</div>
  375. <dl>
  376. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  377. <dd><code><a href="../../../../org/apache/commons/mail/HtmlEmail.html#buildMimeMessage--">buildMimeMessage</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a></code></dd>
  378. <dt><span class="throwsLabel">Throws:</span></dt>
  379. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - building the MimeMessage failed</dd>
  380. <dt><span class="seeLabel">See Also:</span></dt>
  381. <dd><a href="../../../../org/apache/commons/mail/HtmlEmail.html#buildMimeMessage--"><code>HtmlEmail.buildMimeMessage()</code></a></dd>
  382. </dl>
  383. </li>
  384. </ul>
  385. </li>
  386. </ul>
  387. </li>
  388. </ul>
  389. </div>
  390. </div>
  391. <!-- ========= END OF CLASS DATA ========= -->
  392. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  393. <div class="bottomNav"><a name="navbar.bottom">
  394. <!-- -->
  395. </a>
  396. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  397. <a name="navbar.bottom.firstrow">
  398. <!-- -->
  399. </a>
  400. <ul class="navList" title="Navigation">
  401. <li><a href="../../../../overview-summary.html">Overview</a></li>
  402. <li><a href="package-summary.html">Package</a></li>
  403. <li class="navBarCell1Rev">Class</li>
  404. <li><a href="class-use/ImageHtmlEmail.html">Use</a></li>
  405. <li><a href="package-tree.html">Tree</a></li>
  406. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  407. <li><a href="../../../../index-all.html">Index</a></li>
  408. <li><a href="../../../../help-doc.html">Help</a></li>
  409. </ul>
  410. </div>
  411. <div class="subNav">
  412. <ul class="navList">
  413. <li><a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  414. <li><a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  415. </ul>
  416. <ul class="navList">
  417. <li><a href="../../../../index.html?org/apache/commons/mail/ImageHtmlEmail.html" target="_top">Frames</a></li>
  418. <li><a href="ImageHtmlEmail.html" target="_top">No&nbsp;Frames</a></li>
  419. </ul>
  420. <ul class="navList" id="allclasses_navbar_bottom">
  421. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  422. </ul>
  423. <div>
  424. <script type="text/javascript"><!--
  425. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  426. if(window==top) {
  427. allClassesLink.style.display = "block";
  428. }
  429. else {
  430. allClassesLink.style.display = "none";
  431. }
  432. //-->
  433. </script>
  434. </div>
  435. <div>
  436. <ul class="subNavList">
  437. <li>Summary:&nbsp;</li>
  438. <li>Nested&nbsp;|&nbsp;</li>
  439. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  440. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  441. <li><a href="#method.summary">Method</a></li>
  442. </ul>
  443. <ul class="subNavList">
  444. <li>Detail:&nbsp;</li>
  445. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  446. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  447. <li><a href="#method.detail">Method</a></li>
  448. </ul>
  449. </div>
  450. <a name="skip.navbar.bottom">
  451. <!-- -->
  452. </a></div>
  453. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  454. <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>
  455. </body>
  456. </html>