| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
|
|---|
| 2 | <html>
|
|---|
| 3 | <head>
|
|---|
| 4 | <meta name="GENERATOR" content="PasDoc 0.9.0">
|
|---|
| 5 | <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
|---|
| 6 | <title>mimepart: Class TMimePart</title>
|
|---|
| 7 | <link rel="StyleSheet" type="text/css" href="pasdoc.css">
|
|---|
| 8 | </head>
|
|---|
| 9 | <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
|
|---|
| 10 | <a name="TMimePart"></a><h1 class="cio">Class TMimePart</h1>
|
|---|
| 11 | <table class="sections">
|
|---|
| 12 | <tr>
|
|---|
| 13 | <td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Hierarchy">Hierarchy</a></td><td>Fields</td><td><a class="section" href="#@Methods">Methods</a></td><td><a class="section" href="#@Properties">Properties</a></td></tr></table>
|
|---|
| 14 | <a name="@Description"></a><h2 class="unit">Unit</h2>
|
|---|
| 15 | <p class="unitlink">
|
|---|
| 16 | <a href="mimepart.html">mimepart</a></p>
|
|---|
| 17 | <h2 class="declaration">Declaration</h2>
|
|---|
| 18 | <p class="declaration">
|
|---|
| 19 | <code>type TMimePart = class(TObject)</code></p>
|
|---|
| 20 | <h2 class="description">Description</h2>
|
|---|
| 21 | <p>
|
|---|
| 22 | Object for working with parts of MIME e-mail.</p>
|
|---|
| 23 | <p>
|
|---|
| 24 | Each TMimePart object can handle any number of nested subparts as new TMimepart objects. It can handle any tree hierarchy structure of nested MIME subparts itself.
|
|---|
| 25 |
|
|---|
| 26 | <p>Basic tasks are:
|
|---|
| 27 |
|
|---|
| 28 | <p>Decoding of MIME message: - store message into Lines property - call DecomposeParts. Now you have decomposed MIME parts in all nested levels! - now you can explore all properties and subparts. (You can use WalkPart method) - if you need decode part, call DecodePart.
|
|---|
| 29 |
|
|---|
| 30 | <p>Encoding of MIME message:
|
|---|
| 31 |
|
|---|
| 32 | <p>- if you need multipart message, you must create subpart by AddSubPart. - set all properties of all parts. - set content of part into DecodedLines stream - encode this stream by EncodePart. - compose full message by ComposeParts. (it build full MIME message from all subparts. Do not call this method for each subpart! It is needed on root part!) - encoded MIME message is stored in Lines property.</p>
|
|---|
| 33 | <a name="@Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
|
|---|
| 34 | <ul class="hierarchy"><li class="ancestor">TObject</li>
|
|---|
| 35 | <li class="thisitem">TMimePart</li></ul><h2 class="overview">Overview</h2>
|
|---|
| 36 | <a name="@Methods"></a><h3 class="summary">Methods</h3>
|
|---|
| 37 | <table class="summary">
|
|---|
| 38 | <tr class="list">
|
|---|
| 39 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 40 | <td class="itemcode"><code>constructor <b><a href="mimepart.TMimePart.html#Create">Create</a></b>;</code></td>
|
|---|
| 41 | </tr>
|
|---|
| 42 | <tr class="list2">
|
|---|
| 43 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 44 | <td class="itemcode"><code>destructor <b><a href="mimepart.TMimePart.html#Destroy">Destroy</a></b>; override;</code></td>
|
|---|
| 45 | </tr>
|
|---|
| 46 | <tr class="list">
|
|---|
| 47 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 48 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#Assign">Assign</a></b>(Value: <a href="mimepart.TMimePart.html">TMimePart</a>);</code></td>
|
|---|
| 49 | </tr>
|
|---|
| 50 | <tr class="list2">
|
|---|
| 51 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 52 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#AssignSubParts">AssignSubParts</a></b>(Value: <a href="mimepart.TMimePart.html">TMimePart</a>);</code></td>
|
|---|
| 53 | </tr>
|
|---|
| 54 | <tr class="list">
|
|---|
| 55 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 56 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#Clear">Clear</a></b>;</code></td>
|
|---|
| 57 | </tr>
|
|---|
| 58 | <tr class="list2">
|
|---|
| 59 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 60 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#DecodePart">DecodePart</a></b>;</code></td>
|
|---|
| 61 | </tr>
|
|---|
| 62 | <tr class="list">
|
|---|
| 63 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 64 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#DecodePartHeader">DecodePartHeader</a></b>;</code></td>
|
|---|
| 65 | </tr>
|
|---|
| 66 | <tr class="list2">
|
|---|
| 67 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 68 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#EncodePart">EncodePart</a></b>;</code></td>
|
|---|
| 69 | </tr>
|
|---|
| 70 | <tr class="list">
|
|---|
| 71 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 72 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#EncodePartHeader">EncodePartHeader</a></b>;</code></td>
|
|---|
| 73 | </tr>
|
|---|
| 74 | <tr class="list2">
|
|---|
| 75 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 76 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#MimeTypeFromExt">MimeTypeFromExt</a></b>(Value: string);</code></td>
|
|---|
| 77 | </tr>
|
|---|
| 78 | <tr class="list">
|
|---|
| 79 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 80 | <td class="itemcode"><code>function <b><a href="mimepart.TMimePart.html#GetSubPartCount">GetSubPartCount</a></b>: integer;</code></td>
|
|---|
| 81 | </tr>
|
|---|
| 82 | <tr class="list2">
|
|---|
| 83 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 84 | <td class="itemcode"><code>function <b><a href="mimepart.TMimePart.html#GetSubPart">GetSubPart</a></b>(index: integer): <a href="mimepart.TMimePart.html">TMimePart</a>;</code></td>
|
|---|
| 85 | </tr>
|
|---|
| 86 | <tr class="list">
|
|---|
| 87 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 88 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#DeleteSubPart">DeleteSubPart</a></b>(index: integer);</code></td>
|
|---|
| 89 | </tr>
|
|---|
| 90 | <tr class="list2">
|
|---|
| 91 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 92 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#ClearSubParts">ClearSubParts</a></b>;</code></td>
|
|---|
| 93 | </tr>
|
|---|
| 94 | <tr class="list">
|
|---|
| 95 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 96 | <td class="itemcode"><code>function <b><a href="mimepart.TMimePart.html#AddSubPart">AddSubPart</a></b>: <a href="mimepart.TMimePart.html">TMimePart</a>;</code></td>
|
|---|
| 97 | </tr>
|
|---|
| 98 | <tr class="list2">
|
|---|
| 99 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 100 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#DecomposeParts">DecomposeParts</a></b>;</code></td>
|
|---|
| 101 | </tr>
|
|---|
| 102 | <tr class="list">
|
|---|
| 103 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 104 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#DecomposePartsBinary">DecomposePartsBinary</a></b>(AHeader:TStrings; AStx,AEtx:PANSIChar);</code></td>
|
|---|
| 105 | </tr>
|
|---|
| 106 | <tr class="list2">
|
|---|
| 107 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 108 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#ComposeParts">ComposeParts</a></b>;</code></td>
|
|---|
| 109 | </tr>
|
|---|
| 110 | <tr class="list">
|
|---|
| 111 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 112 | <td class="itemcode"><code>procedure <b><a href="mimepart.TMimePart.html#WalkPart">WalkPart</a></b>;</code></td>
|
|---|
| 113 | </tr>
|
|---|
| 114 | <tr class="list2">
|
|---|
| 115 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 116 | <td class="itemcode"><code>function <b><a href="mimepart.TMimePart.html#CanSubPart">CanSubPart</a></b>: boolean;</code></td>
|
|---|
| 117 | </tr>
|
|---|
| 118 | </table>
|
|---|
| 119 | <a name="@Properties"></a><h3 class="summary">Properties</h3>
|
|---|
| 120 | <table class="summary">
|
|---|
| 121 | <tr class="list">
|
|---|
| 122 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 123 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Primary">Primary</a></b>: string read FPrimary write SetPrimary;</code></td>
|
|---|
| 124 | </tr>
|
|---|
| 125 | <tr class="list2">
|
|---|
| 126 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 127 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Encoding">Encoding</a></b>: string read FEncoding write SetEncoding;</code></td>
|
|---|
| 128 | </tr>
|
|---|
| 129 | <tr class="list">
|
|---|
| 130 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 131 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Charset">Charset</a></b>: string read FCharset write SetCharset;</code></td>
|
|---|
| 132 | </tr>
|
|---|
| 133 | <tr class="list2">
|
|---|
| 134 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 135 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#DefaultCharset">DefaultCharset</a></b>: string read FDefaultCharset write FDefaultCharset;</code></td>
|
|---|
| 136 | </tr>
|
|---|
| 137 | <tr class="list">
|
|---|
| 138 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 139 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#PrimaryCode">PrimaryCode</a></b>: <a href="mimepart.html#TMimePrimary">TMimePrimary</a> read FPrimaryCode Write FPrimaryCode;</code></td>
|
|---|
| 140 | </tr>
|
|---|
| 141 | <tr class="list2">
|
|---|
| 142 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 143 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#EncodingCode">EncodingCode</a></b>: <a href="mimepart.html#TMimeEncoding">TMimeEncoding</a> read FEncodingCode Write FEncodingCode;</code></td>
|
|---|
| 144 | </tr>
|
|---|
| 145 | <tr class="list">
|
|---|
| 146 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 147 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#CharsetCode">CharsetCode</a></b>: <a href="synachar.html#TMimeChar">TMimeChar</a> read FCharsetCode Write FCharsetCode;</code></td>
|
|---|
| 148 | </tr>
|
|---|
| 149 | <tr class="list2">
|
|---|
| 150 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 151 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#TargetCharset">TargetCharset</a></b>: <a href="synachar.html#TMimeChar">TMimeChar</a> read FTargetCharset Write FTargetCharset;</code></td>
|
|---|
| 152 | </tr>
|
|---|
| 153 | <tr class="list">
|
|---|
| 154 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 155 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#ConvertCharset">ConvertCharset</a></b>: Boolean read FConvertCharset Write FConvertCharset;</code></td>
|
|---|
| 156 | </tr>
|
|---|
| 157 | <tr class="list2">
|
|---|
| 158 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 159 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#ForcedHTMLConvert">ForcedHTMLConvert</a></b>: Boolean read FForcedHTMLConvert Write FForcedHTMLConvert;</code></td>
|
|---|
| 160 | </tr>
|
|---|
| 161 | <tr class="list">
|
|---|
| 162 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 163 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Secondary">Secondary</a></b>: string read FSecondary Write FSecondary;</code></td>
|
|---|
| 164 | </tr>
|
|---|
| 165 | <tr class="list2">
|
|---|
| 166 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 167 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Description">Description</a></b>: string read FDescription Write FDescription;</code></td>
|
|---|
| 168 | </tr>
|
|---|
| 169 | <tr class="list">
|
|---|
| 170 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 171 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Disposition">Disposition</a></b>: string read FDisposition Write FDisposition;</code></td>
|
|---|
| 172 | </tr>
|
|---|
| 173 | <tr class="list2">
|
|---|
| 174 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 175 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#ContentID">ContentID</a></b>: string read FContentID Write FContentID;</code></td>
|
|---|
| 176 | </tr>
|
|---|
| 177 | <tr class="list">
|
|---|
| 178 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 179 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Boundary">Boundary</a></b>: string read FBoundary Write FBoundary;</code></td>
|
|---|
| 180 | </tr>
|
|---|
| 181 | <tr class="list2">
|
|---|
| 182 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 183 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#FileName">FileName</a></b>: string read FFileName Write FFileName;</code></td>
|
|---|
| 184 | </tr>
|
|---|
| 185 | <tr class="list">
|
|---|
| 186 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 187 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Lines">Lines</a></b>: TStringList read FLines;</code></td>
|
|---|
| 188 | </tr>
|
|---|
| 189 | <tr class="list2">
|
|---|
| 190 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 191 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#PartBody">PartBody</a></b>: TStringList read FPartBody;</code></td>
|
|---|
| 192 | </tr>
|
|---|
| 193 | <tr class="list">
|
|---|
| 194 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 195 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#Headers">Headers</a></b>: TStringList read FHeaders;</code></td>
|
|---|
| 196 | </tr>
|
|---|
| 197 | <tr class="list2">
|
|---|
| 198 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 199 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#PrePart">PrePart</a></b>: TStringList read FPrePart;</code></td>
|
|---|
| 200 | </tr>
|
|---|
| 201 | <tr class="list">
|
|---|
| 202 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 203 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#PostPart">PostPart</a></b>: TStringList read FPostPart;</code></td>
|
|---|
| 204 | </tr>
|
|---|
| 205 | <tr class="list2">
|
|---|
| 206 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 207 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#DecodedLines">DecodedLines</a></b>: TMemoryStream read FDecodedLines;</code></td>
|
|---|
| 208 | </tr>
|
|---|
| 209 | <tr class="list">
|
|---|
| 210 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 211 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#SubLevel">SubLevel</a></b>: integer read FSubLevel write FSubLevel;</code></td>
|
|---|
| 212 | </tr>
|
|---|
| 213 | <tr class="list2">
|
|---|
| 214 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 215 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#MaxSubLevel">MaxSubLevel</a></b>: integer read FMaxSubLevel write FMaxSubLevel;</code></td>
|
|---|
| 216 | </tr>
|
|---|
| 217 | <tr class="list">
|
|---|
| 218 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 219 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#AttachInside">AttachInside</a></b>: boolean read FAttachInside;</code></td>
|
|---|
| 220 | </tr>
|
|---|
| 221 | <tr class="list2">
|
|---|
| 222 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 223 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#OnWalkPart">OnWalkPart</a></b>: <a href="mimepart.html#THookWalkPart">THookWalkPart</a> read FOnWalkPart write FOnWalkPart;</code></td>
|
|---|
| 224 | </tr>
|
|---|
| 225 | <tr class="list">
|
|---|
| 226 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 227 | <td class="itemcode"><code>property <b><a href="mimepart.TMimePart.html#MaxLineLength">MaxLineLength</a></b>: integer read FMaxLineLength Write FMaxLineLength;</code></td>
|
|---|
| 228 | </tr>
|
|---|
| 229 | </table>
|
|---|
| 230 | <h2 class="description">Description</h2>
|
|---|
| 231 | <h3 class="detail">Methods</h3>
|
|---|
| 232 | <table class="detail">
|
|---|
| 233 | <tr class="list">
|
|---|
| 234 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 235 | <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
|
|---|
| 236 | </tr>
|
|---|
| 237 | </table>
|
|---|
| 238 | <table class="detail">
|
|---|
| 239 | <tr class="list">
|
|---|
| 240 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 241 | <td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
|
|---|
| 242 | </tr>
|
|---|
| 243 | </table>
|
|---|
| 244 | <table class="detail">
|
|---|
| 245 | <tr class="list">
|
|---|
| 246 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 247 | <td class="itemcode"><a name="Assign"></a><code>procedure <b>Assign</b>(Value: <a href="mimepart.TMimePart.html">TMimePart</a>);</code></td>
|
|---|
| 248 | </tr>
|
|---|
| 249 | </table>
|
|---|
| 250 | <p>
|
|---|
| 251 | Assign content of another object to this object. (Only this part, not subparts!)</p>
|
|---|
| 252 | <table class="detail">
|
|---|
| 253 | <tr class="list">
|
|---|
| 254 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 255 | <td class="itemcode"><a name="AssignSubParts"></a><code>procedure <b>AssignSubParts</b>(Value: <a href="mimepart.TMimePart.html">TMimePart</a>);</code></td>
|
|---|
| 256 | </tr>
|
|---|
| 257 | </table>
|
|---|
| 258 | <p>
|
|---|
| 259 | Assign content of another object to this object. (With all subparts!)</p>
|
|---|
| 260 | <table class="detail">
|
|---|
| 261 | <tr class="list">
|
|---|
| 262 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 263 | <td class="itemcode"><a name="Clear"></a><code>procedure <b>Clear</b>;</code></td>
|
|---|
| 264 | </tr>
|
|---|
| 265 | </table>
|
|---|
| 266 | <p>
|
|---|
| 267 | Clear all data values to default values. It also call <a class="normal" href="mimepart.TMimePart.html#ClearSubParts">ClearSubParts</a>.</p>
|
|---|
| 268 | <table class="detail">
|
|---|
| 269 | <tr class="list">
|
|---|
| 270 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 271 | <td class="itemcode"><a name="DecodePart"></a><code>procedure <b>DecodePart</b>;</code></td>
|
|---|
| 272 | </tr>
|
|---|
| 273 | </table>
|
|---|
| 274 | <p>
|
|---|
| 275 | Decode Mime part from <a class="normal" href="mimepart.TMimePart.html#Lines">Lines</a> to <a class="normal" href="mimepart.TMimePart.html#DecodedLines">DecodedLines</a>.</p>
|
|---|
| 276 | <table class="detail">
|
|---|
| 277 | <tr class="list">
|
|---|
| 278 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 279 | <td class="itemcode"><a name="DecodePartHeader"></a><code>procedure <b>DecodePartHeader</b>;</code></td>
|
|---|
| 280 | </tr>
|
|---|
| 281 | </table>
|
|---|
| 282 | <p>
|
|---|
| 283 | Parse header lines from Headers property into another properties.</p>
|
|---|
| 284 | <table class="detail">
|
|---|
| 285 | <tr class="list">
|
|---|
| 286 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 287 | <td class="itemcode"><a name="EncodePart"></a><code>procedure <b>EncodePart</b>;</code></td>
|
|---|
| 288 | </tr>
|
|---|
| 289 | </table>
|
|---|
| 290 | <p>
|
|---|
| 291 | Encode mime part from <a class="normal" href="mimepart.TMimePart.html#DecodedLines">DecodedLines</a> to <a class="normal" href="mimepart.TMimePart.html#Lines">Lines</a> and build mime headers.</p>
|
|---|
| 292 | <table class="detail">
|
|---|
| 293 | <tr class="list">
|
|---|
| 294 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 295 | <td class="itemcode"><a name="EncodePartHeader"></a><code>procedure <b>EncodePartHeader</b>;</code></td>
|
|---|
| 296 | </tr>
|
|---|
| 297 | </table>
|
|---|
| 298 | <p>
|
|---|
| 299 | Build header lines in Headers property from another properties.</p>
|
|---|
| 300 | <table class="detail">
|
|---|
| 301 | <tr class="list">
|
|---|
| 302 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 303 | <td class="itemcode"><a name="MimeTypeFromExt"></a><code>procedure <b>MimeTypeFromExt</b>(Value: string);</code></td>
|
|---|
| 304 | </tr>
|
|---|
| 305 | </table>
|
|---|
| 306 | <p>
|
|---|
| 307 | generate primary and secondary mime type from filename extension in value. If type not recognised, it return 'Application/octet-string' type.</p>
|
|---|
| 308 | <table class="detail">
|
|---|
| 309 | <tr class="list">
|
|---|
| 310 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 311 | <td class="itemcode"><a name="GetSubPartCount"></a><code>function <b>GetSubPartCount</b>: integer;</code></td>
|
|---|
| 312 | </tr>
|
|---|
| 313 | </table>
|
|---|
| 314 | <p>
|
|---|
| 315 | Return number of decomposed subparts. (On this level! Each of this subparts can hold any number of their own nested subparts!)</p>
|
|---|
| 316 | <table class="detail">
|
|---|
| 317 | <tr class="list">
|
|---|
| 318 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 319 | <td class="itemcode"><a name="GetSubPart"></a><code>function <b>GetSubPart</b>(index: integer): <a href="mimepart.TMimePart.html">TMimePart</a>;</code></td>
|
|---|
| 320 | </tr>
|
|---|
| 321 | </table>
|
|---|
| 322 | <p>
|
|---|
| 323 | Get nested subpart object as new TMimePart. For getting maximum possible index you can use <a class="normal" href="mimepart.TMimePart.html#GetSubPartCount">GetSubPartCount</a> method.</p>
|
|---|
| 324 | <table class="detail">
|
|---|
| 325 | <tr class="list">
|
|---|
| 326 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 327 | <td class="itemcode"><a name="DeleteSubPart"></a><code>procedure <b>DeleteSubPart</b>(index: integer);</code></td>
|
|---|
| 328 | </tr>
|
|---|
| 329 | </table>
|
|---|
| 330 | <p>
|
|---|
| 331 | delete subpart on given index.</p>
|
|---|
| 332 | <table class="detail">
|
|---|
| 333 | <tr class="list">
|
|---|
| 334 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 335 | <td class="itemcode"><a name="ClearSubParts"></a><code>procedure <b>ClearSubParts</b>;</code></td>
|
|---|
| 336 | </tr>
|
|---|
| 337 | </table>
|
|---|
| 338 | <p>
|
|---|
| 339 | Clear and destroy all subpart TMimePart objects.</p>
|
|---|
| 340 | <table class="detail">
|
|---|
| 341 | <tr class="list">
|
|---|
| 342 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 343 | <td class="itemcode"><a name="AddSubPart"></a><code>function <b>AddSubPart</b>: <a href="mimepart.TMimePart.html">TMimePart</a>;</code></td>
|
|---|
| 344 | </tr>
|
|---|
| 345 | </table>
|
|---|
| 346 | <p>
|
|---|
| 347 | Add and create new subpart.</p>
|
|---|
| 348 | <table class="detail">
|
|---|
| 349 | <tr class="list">
|
|---|
| 350 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 351 | <td class="itemcode"><a name="DecomposeParts"></a><code>procedure <b>DecomposeParts</b>;</code></td>
|
|---|
| 352 | </tr>
|
|---|
| 353 | </table>
|
|---|
| 354 | <p>
|
|---|
| 355 | E-mail message in <a class="normal" href="mimepart.TMimePart.html#Lines">Lines</a> property is parsed into this object. E-mail headers are stored in <a class="normal" href="mimepart.TMimePart.html#Headers">Headers</a> property and is parsed into another properties automaticly. Not need call <a class="normal" href="mimepart.TMimePart.html#DecodePartHeader">DecodePartHeader</a>! Content of message (part) is stored into <a class="normal" href="mimepart.TMimePart.html#PartBody">PartBody</a> property. This part is in undecoded form! If you need decode it, then you must call <a class="normal" href="mimepart.TMimePart.html#DecodePart">DecodePart</a> method by your hands. Lot of another properties is filled also.
|
|---|
| 356 |
|
|---|
| 357 | <p>Decoding of parts you must call separately due performance reasons. (Not needed to decode all parts in all reasons.)
|
|---|
| 358 |
|
|---|
| 359 | <p>For each MIME subpart is created new TMimepart object (accessible via method <a class="normal" href="mimepart.TMimePart.html#GetSubPart">GetSubPart</a>).</p>
|
|---|
| 360 | <table class="detail">
|
|---|
| 361 | <tr class="list">
|
|---|
| 362 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 363 | <td class="itemcode"><a name="DecomposePartsBinary"></a><code>procedure <b>DecomposePartsBinary</b>(AHeader:TStrings; AStx,AEtx:PANSIChar);</code></td>
|
|---|
| 364 | </tr>
|
|---|
| 365 | </table>
|
|---|
| 366 | <p>
|
|---|
| 367 | HTTP message is received by <a class="normal" href="httpsend.THTTPSend.html">THTTPSend</a> component in two parts: headers are stored in <a class="normal" href="httpsend.THTTPSend.html">THTTPSend</a>.<a class="normal" href="httpsend.THTTPSend.html#Headers">Headers</a> and a body in memory stream <a class="normal" href="httpsend.THTTPSend.html">THTTPSend</a>.<a class="normal" href="httpsend.THTTPSend.html#Document">Document</a>.
|
|---|
| 368 |
|
|---|
| 369 | <p>On the top of it, HTTP connections are always 8-bit, hence data are transferred in native format i.e. no transfer encoding is applied.
|
|---|
| 370 |
|
|---|
| 371 | <p>This method operates the similiar way and produces the same result as <a class="normal" href="mimepart.TMimePart.html#DecomposeParts">DecomposeParts</a>.</p>
|
|---|
| 372 | <table class="detail">
|
|---|
| 373 | <tr class="list">
|
|---|
| 374 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 375 | <td class="itemcode"><a name="ComposeParts"></a><code>procedure <b>ComposeParts</b>;</code></td>
|
|---|
| 376 | </tr>
|
|---|
| 377 | </table>
|
|---|
| 378 | <p>
|
|---|
| 379 | This part and all subparts is composed into one MIME message stored in <a class="normal" href="mimepart.TMimePart.html#Lines">Lines</a> property.</p>
|
|---|
| 380 | <table class="detail">
|
|---|
| 381 | <tr class="list">
|
|---|
| 382 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 383 | <td class="itemcode"><a name="WalkPart"></a><code>procedure <b>WalkPart</b>;</code></td>
|
|---|
| 384 | </tr>
|
|---|
| 385 | </table>
|
|---|
| 386 | <p>
|
|---|
| 387 | By calling this method is called <a class="normal" href="mimepart.TMimePart.html#OnWalkPart">OnWalkPart</a> event for each part and their subparts. It is very good for calling some code for each part in MIME message</p>
|
|---|
| 388 | <table class="detail">
|
|---|
| 389 | <tr class="list">
|
|---|
| 390 | <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|---|
| 391 | <td class="itemcode"><a name="CanSubPart"></a><code>function <b>CanSubPart</b>: boolean;</code></td>
|
|---|
| 392 | </tr>
|
|---|
| 393 | </table>
|
|---|
| 394 | <p>
|
|---|
| 395 | Return <code>True</code> when is possible create next subpart. (<a class="normal" href="mimepart.TMimePart.html#MaxSubLevel">MaxSubLevel</a> is still not reached)</p>
|
|---|
| 396 | <h3 class="detail">Properties</h3>
|
|---|
| 397 | <table class="detail">
|
|---|
| 398 | <tr class="list">
|
|---|
| 399 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 400 | <td class="itemcode"><a name="Primary"></a><code>property <b>Primary</b>: string read FPrimary write SetPrimary;</code></td>
|
|---|
| 401 | </tr>
|
|---|
| 402 | </table>
|
|---|
| 403 | <p>
|
|---|
| 404 | Primary Mime type of part. (i.e. 'application') Writing to this property automaticly generate value of <a class="normal" href="mimepart.TMimePart.html#PrimaryCode">PrimaryCode</a>.</p>
|
|---|
| 405 | <table class="detail">
|
|---|
| 406 | <tr class="list">
|
|---|
| 407 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 408 | <td class="itemcode"><a name="Encoding"></a><code>property <b>Encoding</b>: string read FEncoding write SetEncoding;</code></td>
|
|---|
| 409 | </tr>
|
|---|
| 410 | </table>
|
|---|
| 411 | <p>
|
|---|
| 412 | String representation of used Mime encoding in part. (i.e. 'base64') Writing to this property automaticly generate value of <a class="normal" href="mimepart.TMimePart.html#EncodingCode">EncodingCode</a>.</p>
|
|---|
| 413 | <table class="detail">
|
|---|
| 414 | <tr class="list">
|
|---|
| 415 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 416 | <td class="itemcode"><a name="Charset"></a><code>property <b>Charset</b>: string read FCharset write SetCharset;</code></td>
|
|---|
| 417 | </tr>
|
|---|
| 418 | </table>
|
|---|
| 419 | <p>
|
|---|
| 420 | String representation of used Mime charset in part. (i.e. 'iso-8859-1') Writing to this property automaticly generate value of <a class="normal" href="mimepart.TMimePart.html#CharsetCode">CharsetCode</a>. Charset is used only for text parts.</p>
|
|---|
| 421 | <table class="detail">
|
|---|
| 422 | <tr class="list">
|
|---|
| 423 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 424 | <td class="itemcode"><a name="DefaultCharset"></a><code>property <b>DefaultCharset</b>: string read FDefaultCharset write FDefaultCharset;</code></td>
|
|---|
| 425 | </tr>
|
|---|
| 426 | </table>
|
|---|
| 427 | <p>
|
|---|
| 428 | Define default charset for decoding text MIME parts without charset specification. Default value is 'ISO-8859-1' by RCF documents. But Microsoft Outlook use windows codings as default. This property allows properly decode textual parts from some broken versions of Microsoft Outlook. (this is bad software!)</p>
|
|---|
| 429 | <table class="detail">
|
|---|
| 430 | <tr class="list">
|
|---|
| 431 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 432 | <td class="itemcode"><a name="PrimaryCode"></a><code>property <b>PrimaryCode</b>: <a href="mimepart.html#TMimePrimary">TMimePrimary</a> read FPrimaryCode Write FPrimaryCode;</code></td>
|
|---|
| 433 | </tr>
|
|---|
| 434 | </table>
|
|---|
| 435 | <p>
|
|---|
| 436 | Decoded primary type. Possible values are: MP_TEXT, MP_MULTIPART, MP_MESSAGE and MP_BINARY. If type not recognised, result is MP_BINARY.</p>
|
|---|
| 437 | <table class="detail">
|
|---|
| 438 | <tr class="list">
|
|---|
| 439 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 440 | <td class="itemcode"><a name="EncodingCode"></a><code>property <b>EncodingCode</b>: <a href="mimepart.html#TMimeEncoding">TMimeEncoding</a> read FEncodingCode Write FEncodingCode;</code></td>
|
|---|
| 441 | </tr>
|
|---|
| 442 | </table>
|
|---|
| 443 | <p>
|
|---|
| 444 | Decoded encoding type. Possible values are: ME_7BIT, ME_8BIT, ME_QUOTED_PRINTABLE and ME_BASE64. If type not recognised, result is ME_7BIT.</p>
|
|---|
| 445 | <table class="detail">
|
|---|
| 446 | <tr class="list">
|
|---|
| 447 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 448 | <td class="itemcode"><a name="CharsetCode"></a><code>property <b>CharsetCode</b>: <a href="synachar.html#TMimeChar">TMimeChar</a> read FCharsetCode Write FCharsetCode;</code></td>
|
|---|
| 449 | </tr>
|
|---|
| 450 | </table>
|
|---|
| 451 | <p>
|
|---|
| 452 | Decoded charset type. Possible values are defined in <a class="normal" href="synachar.html">synachar</a> unit.</p>
|
|---|
| 453 | <table class="detail">
|
|---|
| 454 | <tr class="list">
|
|---|
| 455 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 456 | <td class="itemcode"><a name="TargetCharset"></a><code>property <b>TargetCharset</b>: <a href="synachar.html#TMimeChar">TMimeChar</a> read FTargetCharset Write FTargetCharset;</code></td>
|
|---|
| 457 | </tr>
|
|---|
| 458 | </table>
|
|---|
| 459 | <p>
|
|---|
| 460 | System charset type. Default value is charset used by default in your operating system.</p>
|
|---|
| 461 | <table class="detail">
|
|---|
| 462 | <tr class="list">
|
|---|
| 463 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 464 | <td class="itemcode"><a name="ConvertCharset"></a><code>property <b>ConvertCharset</b>: Boolean read FConvertCharset Write FConvertCharset;</code></td>
|
|---|
| 465 | </tr>
|
|---|
| 466 | </table>
|
|---|
| 467 | <p>
|
|---|
| 468 | If <code>True</code>, then do internal charset translation of part content between <a class="normal" href="mimepart.TMimePart.html#CharsetCode">CharsetCode</a> and <a class="normal" href="mimepart.TMimePart.html#TargetCharset">TargetCharset</a></p>
|
|---|
| 469 | <table class="detail">
|
|---|
| 470 | <tr class="list">
|
|---|
| 471 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 472 | <td class="itemcode"><a name="ForcedHTMLConvert"></a><code>property <b>ForcedHTMLConvert</b>: Boolean read FForcedHTMLConvert Write FForcedHTMLConvert;</code></td>
|
|---|
| 473 | </tr>
|
|---|
| 474 | </table>
|
|---|
| 475 | <p>
|
|---|
| 476 | If <code>True</code>, then allways do internal charset translation of HTML parts by MIME even it have their own charset in META tag. Default is <code>False</code>.</p>
|
|---|
| 477 | <table class="detail">
|
|---|
| 478 | <tr class="list">
|
|---|
| 479 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 480 | <td class="itemcode"><a name="Secondary"></a><code>property <b>Secondary</b>: string read FSecondary Write FSecondary;</code></td>
|
|---|
| 481 | </tr>
|
|---|
| 482 | </table>
|
|---|
| 483 | <p>
|
|---|
| 484 | Secondary Mime type of part. (i.e. 'mixed')</p>
|
|---|
| 485 | <table class="detail">
|
|---|
| 486 | <tr class="list">
|
|---|
| 487 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 488 | <td class="itemcode"><a name="Description"></a><code>property <b>Description</b>: string read FDescription Write FDescription;</code></td>
|
|---|
| 489 | </tr>
|
|---|
| 490 | </table>
|
|---|
| 491 | <p>
|
|---|
| 492 | Description of Mime part.</p>
|
|---|
| 493 | <table class="detail">
|
|---|
| 494 | <tr class="list">
|
|---|
| 495 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 496 | <td class="itemcode"><a name="Disposition"></a><code>property <b>Disposition</b>: string read FDisposition Write FDisposition;</code></td>
|
|---|
| 497 | </tr>
|
|---|
| 498 | </table>
|
|---|
| 499 | <p>
|
|---|
| 500 | Value of content disposition field. (i.e. 'inline' or 'attachment')</p>
|
|---|
| 501 | <table class="detail">
|
|---|
| 502 | <tr class="list">
|
|---|
| 503 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 504 | <td class="itemcode"><a name="ContentID"></a><code>property <b>ContentID</b>: string read FContentID Write FContentID;</code></td>
|
|---|
| 505 | </tr>
|
|---|
| 506 | </table>
|
|---|
| 507 | <p>
|
|---|
| 508 | Content ID.</p>
|
|---|
| 509 | <table class="detail">
|
|---|
| 510 | <tr class="list">
|
|---|
| 511 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 512 | <td class="itemcode"><a name="Boundary"></a><code>property <b>Boundary</b>: string read FBoundary Write FBoundary;</code></td>
|
|---|
| 513 | </tr>
|
|---|
| 514 | </table>
|
|---|
| 515 | <p>
|
|---|
| 516 | Boundary delimiter of multipart Mime part. Used only in multipart part.</p>
|
|---|
| 517 | <table class="detail">
|
|---|
| 518 | <tr class="list">
|
|---|
| 519 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 520 | <td class="itemcode"><a name="FileName"></a><code>property <b>FileName</b>: string read FFileName Write FFileName;</code></td>
|
|---|
| 521 | </tr>
|
|---|
| 522 | </table>
|
|---|
| 523 | <p>
|
|---|
| 524 | Filename of file in binary part.</p>
|
|---|
| 525 | <table class="detail">
|
|---|
| 526 | <tr class="list">
|
|---|
| 527 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 528 | <td class="itemcode"><a name="Lines"></a><code>property <b>Lines</b>: TStringList read FLines;</code></td>
|
|---|
| 529 | </tr>
|
|---|
| 530 | </table>
|
|---|
| 531 | <p>
|
|---|
| 532 | String list with lines contains mime part (It can be a full message).</p>
|
|---|
| 533 | <table class="detail">
|
|---|
| 534 | <tr class="list">
|
|---|
| 535 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 536 | <td class="itemcode"><a name="PartBody"></a><code>property <b>PartBody</b>: TStringList read FPartBody;</code></td>
|
|---|
| 537 | </tr>
|
|---|
| 538 | </table>
|
|---|
| 539 | <p>
|
|---|
| 540 | Encoded form of MIME part data.</p>
|
|---|
| 541 | <table class="detail">
|
|---|
| 542 | <tr class="list">
|
|---|
| 543 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 544 | <td class="itemcode"><a name="Headers"></a><code>property <b>Headers</b>: TStringList read FHeaders;</code></td>
|
|---|
| 545 | </tr>
|
|---|
| 546 | </table>
|
|---|
| 547 | <p>
|
|---|
| 548 | All header lines of MIME part.</p>
|
|---|
| 549 | <table class="detail">
|
|---|
| 550 | <tr class="list">
|
|---|
| 551 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 552 | <td class="itemcode"><a name="PrePart"></a><code>property <b>PrePart</b>: TStringList read FPrePart;</code></td>
|
|---|
| 553 | </tr>
|
|---|
| 554 | </table>
|
|---|
| 555 | <p>
|
|---|
| 556 | On multipart this contains part of message between first line of message and first boundary.</p>
|
|---|
| 557 | <table class="detail">
|
|---|
| 558 | <tr class="list">
|
|---|
| 559 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 560 | <td class="itemcode"><a name="PostPart"></a><code>property <b>PostPart</b>: TStringList read FPostPart;</code></td>
|
|---|
| 561 | </tr>
|
|---|
| 562 | </table>
|
|---|
| 563 | <p>
|
|---|
| 564 | On multipart this contains part of message between last boundary and end of message.</p>
|
|---|
| 565 | <table class="detail">
|
|---|
| 566 | <tr class="list">
|
|---|
| 567 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 568 | <td class="itemcode"><a name="DecodedLines"></a><code>property <b>DecodedLines</b>: TMemoryStream read FDecodedLines;</code></td>
|
|---|
| 569 | </tr>
|
|---|
| 570 | </table>
|
|---|
| 571 | <p>
|
|---|
| 572 | Stream with decoded form of budy part.</p>
|
|---|
| 573 | <table class="detail">
|
|---|
| 574 | <tr class="list">
|
|---|
| 575 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 576 | <td class="itemcode"><a name="SubLevel"></a><code>property <b>SubLevel</b>: integer read FSubLevel write FSubLevel;</code></td>
|
|---|
| 577 | </tr>
|
|---|
| 578 | </table>
|
|---|
| 579 | <p>
|
|---|
| 580 | Show nested level in subpart tree. Value 0 means root part. 1 means subpart from this root. etc.</p>
|
|---|
| 581 | <table class="detail">
|
|---|
| 582 | <tr class="list">
|
|---|
| 583 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 584 | <td class="itemcode"><a name="MaxSubLevel"></a><code>property <b>MaxSubLevel</b>: integer read FMaxSubLevel write FMaxSubLevel;</code></td>
|
|---|
| 585 | </tr>
|
|---|
| 586 | </table>
|
|---|
| 587 | <p>
|
|---|
| 588 | Specify maximum sublevel value for decomposing.</p>
|
|---|
| 589 | <table class="detail">
|
|---|
| 590 | <tr class="list">
|
|---|
| 591 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 592 | <td class="itemcode"><a name="AttachInside"></a><code>property <b>AttachInside</b>: boolean read FAttachInside;</code></td>
|
|---|
| 593 | </tr>
|
|---|
| 594 | </table>
|
|---|
| 595 | <p>
|
|---|
| 596 | When is <code>True</code>, then this part maybe(!) have included some uuencoded binary data.</p>
|
|---|
| 597 | <table class="detail">
|
|---|
| 598 | <tr class="list">
|
|---|
| 599 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 600 | <td class="itemcode"><a name="OnWalkPart"></a><code>property <b>OnWalkPart</b>: <a href="mimepart.html#THookWalkPart">THookWalkPart</a> read FOnWalkPart write FOnWalkPart;</code></td>
|
|---|
| 601 | </tr>
|
|---|
| 602 | </table>
|
|---|
| 603 | <p>
|
|---|
| 604 | Here you can assign hook procedure for walking through all part and their subparts.</p>
|
|---|
| 605 | <table class="detail">
|
|---|
| 606 | <tr class="list">
|
|---|
| 607 | <td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
|
|---|
| 608 | <td class="itemcode"><a name="MaxLineLength"></a><code>property <b>MaxLineLength</b>: integer read FMaxLineLength Write FMaxLineLength;</code></td>
|
|---|
| 609 | </tr>
|
|---|
| 610 | </table>
|
|---|
| 611 | <p>
|
|---|
| 612 | Here you can specify maximum line length for encoding of MIME part. If line is longer, then is splitted by standard of MIME. Correct MIME mailers can de-split this line into original length.</p>
|
|---|
| 613 | <hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:51</em>
|
|---|
| 614 | </span>
|
|---|
| 615 | </body></html>
|
|---|