rockdove 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardoc/checksums +9 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/CHANGELOG.md +4 -0
- data/doc/Rockdove/CollectMail.html +1302 -0
- data/doc/Rockdove/Config.html +1125 -0
- data/doc/Rockdove/Dovetie.html +123 -0
- data/doc/Rockdove/EmailParser.html +377 -0
- data/doc/Rockdove/ExchangeMail.html +1054 -0
- data/doc/Rockdove/Generators/InstallGenerator.html +192 -0
- data/doc/Rockdove/Generators.html +115 -0
- data/doc/Rockdove/RockdoveCollection.html +123 -0
- data/doc/Rockdove.html +215 -0
- data/doc/RockdoveServer.html +404 -0
- data/doc/_index.html +214 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +328 -0
- data/doc/file.CHANGELOG.html +93 -0
- data/doc/file.README.html +164 -0
- data/doc/file_list.html +58 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +164 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +492 -0
- data/doc/top-level-namespace.html +126 -0
- data/lib/rockdove/exchange_mail.rb +14 -2
- data/lib/rockdove/version.rb +1 -1
- metadata +48 -19
@@ -0,0 +1,492 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
|
7
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
16
|
+
|
17
|
+
|
18
|
+
<base id="base_target" target="_parent" />
|
19
|
+
</head>
|
20
|
+
<body>
|
21
|
+
<script type="text/javascript" charset="utf-8">
|
22
|
+
if (window.top.frames.main) {
|
23
|
+
document.getElementById('base_target').target = 'main';
|
24
|
+
document.body.className = 'frames';
|
25
|
+
}
|
26
|
+
</script>
|
27
|
+
<div id="content">
|
28
|
+
<h1 id="full_list_header">Method List</h1>
|
29
|
+
<div id="nav">
|
30
|
+
|
31
|
+
<span><a target="_self" href="class_list.html">
|
32
|
+
Classes
|
33
|
+
</a></span>
|
34
|
+
|
35
|
+
<span><a target="_self" href="method_list.html">
|
36
|
+
Methods
|
37
|
+
</a></span>
|
38
|
+
|
39
|
+
<span><a target="_self" href="file_list.html">
|
40
|
+
Files
|
41
|
+
</a></span>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
<div id="search">Search: <input type="text" /></div>
|
45
|
+
|
46
|
+
<ul id="full_list" class="method">
|
47
|
+
|
48
|
+
|
49
|
+
<li class="r1 ">
|
50
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#archive-instance_method" title="Rockdove::CollectMail#archive (method)">#archive</a></span>
|
51
|
+
|
52
|
+
<small>Rockdove::CollectMail</small>
|
53
|
+
|
54
|
+
</li>
|
55
|
+
|
56
|
+
|
57
|
+
<li class="r2 ">
|
58
|
+
<span class='object_link'><a href="Rockdove/Config.html#archive_folder-class_method" title="Rockdove::Config.archive_folder (method)">archive_folder</a></span>
|
59
|
+
|
60
|
+
<small>Rockdove::Config</small>
|
61
|
+
|
62
|
+
</li>
|
63
|
+
|
64
|
+
|
65
|
+
<li class="r1 ">
|
66
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#attachments-instance_method" title="Rockdove::ExchangeMail#attachments (method)">#attachments</a></span>
|
67
|
+
|
68
|
+
<small>Rockdove::ExchangeMail</small>
|
69
|
+
|
70
|
+
</li>
|
71
|
+
|
72
|
+
|
73
|
+
<li class="r2 ">
|
74
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#body-instance_method" title="Rockdove::ExchangeMail#body (method)">#body</a></span>
|
75
|
+
|
76
|
+
<small>Rockdove::ExchangeMail</small>
|
77
|
+
|
78
|
+
</li>
|
79
|
+
|
80
|
+
|
81
|
+
<li class="r1 ">
|
82
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#bounce_type_mail%3F-instance_method" title="Rockdove::CollectMail#bounce_type_mail? (method)">#bounce_type_mail?</a></span>
|
83
|
+
|
84
|
+
<small>Rockdove::CollectMail</small>
|
85
|
+
|
86
|
+
</li>
|
87
|
+
|
88
|
+
|
89
|
+
<li class="r2 ">
|
90
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#cc_recipients-instance_method" title="Rockdove::ExchangeMail#cc_recipients (method)">#cc_recipients</a></span>
|
91
|
+
|
92
|
+
<small>Rockdove::ExchangeMail</small>
|
93
|
+
|
94
|
+
</li>
|
95
|
+
|
96
|
+
|
97
|
+
<li class="r1 ">
|
98
|
+
<span class='object_link'><a href="Rockdove/EmailParser.html#choose_and_parse-instance_method" title="Rockdove::EmailParser#choose_and_parse (method)">#choose_and_parse</a></span>
|
99
|
+
|
100
|
+
<small>Rockdove::EmailParser</small>
|
101
|
+
|
102
|
+
</li>
|
103
|
+
|
104
|
+
|
105
|
+
<li class="r2 ">
|
106
|
+
<span class='object_link'><a href="Rockdove/Config.html#configure-class_method" title="Rockdove::Config.configure (method)">configure</a></span>
|
107
|
+
|
108
|
+
<small>Rockdove::Config</small>
|
109
|
+
|
110
|
+
</li>
|
111
|
+
|
112
|
+
|
113
|
+
<li class="r1 ">
|
114
|
+
<span class='object_link'><a href="Rockdove/Config.html#connect-class_method" title="Rockdove::Config.connect (method)">connect</a></span>
|
115
|
+
|
116
|
+
<small>Rockdove::Config</small>
|
117
|
+
|
118
|
+
</li>
|
119
|
+
|
120
|
+
|
121
|
+
<li class="r2 ">
|
122
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#connection-instance_method" title="Rockdove::ExchangeMail#connection (method)">#connection</a></span>
|
123
|
+
|
124
|
+
<small>Rockdove::ExchangeMail</small>
|
125
|
+
|
126
|
+
</li>
|
127
|
+
|
128
|
+
|
129
|
+
<li class="r1 ">
|
130
|
+
<span class='object_link'><a href="Rockdove/Generators/InstallGenerator.html#copy_script-instance_method" title="Rockdove::Generators::InstallGenerator#copy_script (method)">#copy_script</a></span>
|
131
|
+
|
132
|
+
<small>Rockdove::Generators::InstallGenerator</small>
|
133
|
+
|
134
|
+
</li>
|
135
|
+
|
136
|
+
|
137
|
+
<li class="r2 ">
|
138
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#date_time_created-instance_method" title="Rockdove::ExchangeMail#date_time_created (method)">#date_time_created</a></span>
|
139
|
+
|
140
|
+
<small>Rockdove::ExchangeMail</small>
|
141
|
+
|
142
|
+
</li>
|
143
|
+
|
144
|
+
|
145
|
+
<li class="r1 ">
|
146
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#date_time_sent-instance_method" title="Rockdove::ExchangeMail#date_time_sent (method)">#date_time_sent</a></span>
|
147
|
+
|
148
|
+
<small>Rockdove::ExchangeMail</small>
|
149
|
+
|
150
|
+
</li>
|
151
|
+
|
152
|
+
|
153
|
+
<li class="r2 ">
|
154
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#destination-instance_method" title="Rockdove::CollectMail#destination (method)">#destination</a></span>
|
155
|
+
|
156
|
+
<small>Rockdove::CollectMail</small>
|
157
|
+
|
158
|
+
</li>
|
159
|
+
|
160
|
+
|
161
|
+
<li class="r1 ">
|
162
|
+
<span class='object_link'><a href="Rockdove/Config.html#ews_archive_folder-class_method" title="Rockdove::Config.ews_archive_folder (method)">ews_archive_folder</a></span>
|
163
|
+
|
164
|
+
<small>Rockdove::Config</small>
|
165
|
+
|
166
|
+
</li>
|
167
|
+
|
168
|
+
|
169
|
+
<li class="r2 ">
|
170
|
+
<span class='object_link'><a href="Rockdove/Config.html#ews_folder-class_method" title="Rockdove::Config.ews_folder (method)">ews_folder</a></span>
|
171
|
+
|
172
|
+
<small>Rockdove::Config</small>
|
173
|
+
|
174
|
+
</li>
|
175
|
+
|
176
|
+
|
177
|
+
<li class="r1 ">
|
178
|
+
<span class='object_link'><a href="Rockdove/Config.html#ews_ignore_mails-class_method" title="Rockdove::Config.ews_ignore_mails (method)">ews_ignore_mails</a></span>
|
179
|
+
|
180
|
+
<small>Rockdove::Config</small>
|
181
|
+
|
182
|
+
</li>
|
183
|
+
|
184
|
+
|
185
|
+
<li class="r2 ">
|
186
|
+
<span class='object_link'><a href="Rockdove/Config.html#ews_password-class_method" title="Rockdove::Config.ews_password (method)">ews_password</a></span>
|
187
|
+
|
188
|
+
<small>Rockdove::Config</small>
|
189
|
+
|
190
|
+
</li>
|
191
|
+
|
192
|
+
|
193
|
+
<li class="r1 ">
|
194
|
+
<span class='object_link'><a href="Rockdove/Config.html#ews_url-class_method" title="Rockdove::Config.ews_url (method)">ews_url</a></span>
|
195
|
+
|
196
|
+
<small>Rockdove::Config</small>
|
197
|
+
|
198
|
+
</li>
|
199
|
+
|
200
|
+
|
201
|
+
<li class="r2 ">
|
202
|
+
<span class='object_link'><a href="Rockdove/Config.html#ews_username-class_method" title="Rockdove::Config.ews_username (method)">ews_username</a></span>
|
203
|
+
|
204
|
+
<small>Rockdove::Config</small>
|
205
|
+
|
206
|
+
</li>
|
207
|
+
|
208
|
+
|
209
|
+
<li class="r1 ">
|
210
|
+
<span class='object_link'><a href="Rockdove/Config.html#ews_watch_interval-class_method" title="Rockdove::Config.ews_watch_interval (method)">ews_watch_interval</a></span>
|
211
|
+
|
212
|
+
<small>Rockdove::Config</small>
|
213
|
+
|
214
|
+
</li>
|
215
|
+
|
216
|
+
|
217
|
+
<li class="r2 ">
|
218
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#fetch_from_box-instance_method" title="Rockdove::CollectMail#fetch_from_box (method)">#fetch_from_box</a></span>
|
219
|
+
|
220
|
+
<small>Rockdove::CollectMail</small>
|
221
|
+
|
222
|
+
</li>
|
223
|
+
|
224
|
+
|
225
|
+
<li class="r1 ">
|
226
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#from-instance_method" title="Rockdove::ExchangeMail#from (method)">#from</a></span>
|
227
|
+
|
228
|
+
<small>Rockdove::ExchangeMail</small>
|
229
|
+
|
230
|
+
</li>
|
231
|
+
|
232
|
+
|
233
|
+
<li class="r2 ">
|
234
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#get_items-instance_method" title="Rockdove::ExchangeMail#get_items (method)">#get_items</a></span>
|
235
|
+
|
236
|
+
<small>Rockdove::ExchangeMail</small>
|
237
|
+
|
238
|
+
</li>
|
239
|
+
|
240
|
+
|
241
|
+
<li class="r1 ">
|
242
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#group_of_mails-instance_method" title="Rockdove::CollectMail#group_of_mails (method)">#group_of_mails</a></span>
|
243
|
+
|
244
|
+
<small>Rockdove::CollectMail</small>
|
245
|
+
|
246
|
+
</li>
|
247
|
+
|
248
|
+
|
249
|
+
<li class="r2 ">
|
250
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#ignore_mail%3F-instance_method" title="Rockdove::CollectMail#ignore_mail? (method)">#ignore_mail?</a></span>
|
251
|
+
|
252
|
+
<small>Rockdove::CollectMail</small>
|
253
|
+
|
254
|
+
</li>
|
255
|
+
|
256
|
+
|
257
|
+
<li class="r1 ">
|
258
|
+
<span class='object_link'><a href="Rockdove/Config.html#ignore_mails-class_method" title="Rockdove::Config.ignore_mails (method)">ignore_mails</a></span>
|
259
|
+
|
260
|
+
<small>Rockdove::Config</small>
|
261
|
+
|
262
|
+
</li>
|
263
|
+
|
264
|
+
|
265
|
+
<li class="r2 ">
|
266
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#inbox-instance_method" title="Rockdove::CollectMail#inbox (method)">#inbox</a></span>
|
267
|
+
|
268
|
+
<small>Rockdove::CollectMail</small>
|
269
|
+
|
270
|
+
</li>
|
271
|
+
|
272
|
+
|
273
|
+
<li class="r1 ">
|
274
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#inbox_connection-class_method" title="Rockdove::CollectMail.inbox_connection (method)">inbox_connection</a></span>
|
275
|
+
|
276
|
+
<small>Rockdove::CollectMail</small>
|
277
|
+
|
278
|
+
</li>
|
279
|
+
|
280
|
+
|
281
|
+
<li class="r2 ">
|
282
|
+
<span class='object_link'><a href="Rockdove/Config.html#incoming_folder-class_method" title="Rockdove::Config.incoming_folder (method)">incoming_folder</a></span>
|
283
|
+
|
284
|
+
<small>Rockdove::Config</small>
|
285
|
+
|
286
|
+
</li>
|
287
|
+
|
288
|
+
|
289
|
+
<li class="r1 ">
|
290
|
+
<span class='object_link'><a href="RockdoveServer.html#initialize-instance_method" title="RockdoveServer#initialize (method)">#initialize</a></span>
|
291
|
+
|
292
|
+
<small>RockdoveServer</small>
|
293
|
+
|
294
|
+
</li>
|
295
|
+
|
296
|
+
|
297
|
+
<li class="r2 ">
|
298
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#initialize-instance_method" title="Rockdove::ExchangeMail#initialize (method)">#initialize</a></span>
|
299
|
+
|
300
|
+
<small>Rockdove::ExchangeMail</small>
|
301
|
+
|
302
|
+
</li>
|
303
|
+
|
304
|
+
|
305
|
+
<li class="r1 ">
|
306
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#initialize-instance_method" title="Rockdove::CollectMail#initialize (method)">#initialize</a></span>
|
307
|
+
|
308
|
+
<small>Rockdove::CollectMail</small>
|
309
|
+
|
310
|
+
</li>
|
311
|
+
|
312
|
+
|
313
|
+
<li class="r2 ">
|
314
|
+
<span class='object_link'><a href="Rockdove.html#logger-class_method" title="Rockdove.logger (method)">logger</a></span>
|
315
|
+
|
316
|
+
<small>Rockdove</small>
|
317
|
+
|
318
|
+
</li>
|
319
|
+
|
320
|
+
|
321
|
+
<li class="r1 ">
|
322
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#mail_stack-class_method" title="Rockdove::CollectMail.mail_stack (method)">mail_stack</a></span>
|
323
|
+
|
324
|
+
<small>Rockdove::CollectMail</small>
|
325
|
+
|
326
|
+
</li>
|
327
|
+
|
328
|
+
|
329
|
+
<li class="r2 ">
|
330
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#no_mail_alert-instance_method" title="Rockdove::CollectMail#no_mail_alert (method)">#no_mail_alert</a></span>
|
331
|
+
|
332
|
+
<small>Rockdove::CollectMail</small>
|
333
|
+
|
334
|
+
</li>
|
335
|
+
|
336
|
+
|
337
|
+
<li class="r1 ">
|
338
|
+
<span class='object_link'><a href="Rockdove/EmailParser.html#parse_email_tags-instance_method" title="Rockdove::EmailParser#parse_email_tags (method)">#parse_email_tags</a></span>
|
339
|
+
|
340
|
+
<small>Rockdove::EmailParser</small>
|
341
|
+
|
342
|
+
</li>
|
343
|
+
|
344
|
+
|
345
|
+
<li class="r2 ">
|
346
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#parse_it-instance_method" title="Rockdove::ExchangeMail#parse_it (method)">#parse_it</a></span>
|
347
|
+
|
348
|
+
<small>Rockdove::ExchangeMail</small>
|
349
|
+
|
350
|
+
</li>
|
351
|
+
|
352
|
+
|
353
|
+
<li class="r1 ">
|
354
|
+
<span class='object_link'><a href="Rockdove/EmailParser.html#parse_mail-class_method" title="Rockdove::EmailParser.parse_mail (method)">parse_mail</a></span>
|
355
|
+
|
356
|
+
<small>Rockdove::EmailParser</small>
|
357
|
+
|
358
|
+
</li>
|
359
|
+
|
360
|
+
|
361
|
+
<li class="r2 ">
|
362
|
+
<span class='object_link'><a href="Rockdove/Config.html#password-class_method" title="Rockdove::Config.password (method)">password</a></span>
|
363
|
+
|
364
|
+
<small>Rockdove::Config</small>
|
365
|
+
|
366
|
+
</li>
|
367
|
+
|
368
|
+
|
369
|
+
<li class="r1 ">
|
370
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#process-instance_method" title="Rockdove::CollectMail#process (method)">#process</a></span>
|
371
|
+
|
372
|
+
<small>Rockdove::CollectMail</small>
|
373
|
+
|
374
|
+
</li>
|
375
|
+
|
376
|
+
|
377
|
+
<li class="r2 ">
|
378
|
+
<span class='object_link'><a href="RockdoveServer.html#process_rockdove_job-instance_method" title="RockdoveServer#process_rockdove_job (method)">#process_rockdove_job</a></span>
|
379
|
+
|
380
|
+
<small>RockdoveServer</small>
|
381
|
+
|
382
|
+
</li>
|
383
|
+
|
384
|
+
|
385
|
+
<li class="r1 ">
|
386
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#reconnect_and_raise_error-instance_method" title="Rockdove::CollectMail#reconnect_and_raise_error (method)">#reconnect_and_raise_error</a></span>
|
387
|
+
|
388
|
+
<small>Rockdove::CollectMail</small>
|
389
|
+
|
390
|
+
</li>
|
391
|
+
|
392
|
+
|
393
|
+
<li class="r2 ">
|
394
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#retrieve_mail-instance_method" title="Rockdove::CollectMail#retrieve_mail (method)">#retrieve_mail</a></span>
|
395
|
+
|
396
|
+
<small>Rockdove::CollectMail</small>
|
397
|
+
|
398
|
+
</li>
|
399
|
+
|
400
|
+
|
401
|
+
<li class="r1 ">
|
402
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#retrieve_text_type-instance_method" title="Rockdove::ExchangeMail#retrieve_text_type (method)">#retrieve_text_type</a></span>
|
403
|
+
|
404
|
+
<small>Rockdove::ExchangeMail</small>
|
405
|
+
|
406
|
+
</li>
|
407
|
+
|
408
|
+
|
409
|
+
<li class="r2 ">
|
410
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#send_connection_failed_message-instance_method" title="Rockdove::CollectMail#send_connection_failed_message (method)">#send_connection_failed_message</a></span>
|
411
|
+
|
412
|
+
<small>Rockdove::CollectMail</small>
|
413
|
+
|
414
|
+
</li>
|
415
|
+
|
416
|
+
|
417
|
+
<li class="r1 ">
|
418
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#send_rockdove_to_watch_mail-instance_method" title="Rockdove::CollectMail#send_rockdove_to_watch_mail (method)">#send_rockdove_to_watch_mail</a></span>
|
419
|
+
|
420
|
+
<small>Rockdove::CollectMail</small>
|
421
|
+
|
422
|
+
</li>
|
423
|
+
|
424
|
+
|
425
|
+
<li class="r2 ">
|
426
|
+
<span class='object_link'><a href="RockdoveServer.html#start-instance_method" title="RockdoveServer#start (method)">#start</a></span>
|
427
|
+
|
428
|
+
<small>RockdoveServer</small>
|
429
|
+
|
430
|
+
</li>
|
431
|
+
|
432
|
+
|
433
|
+
<li class="r1 ">
|
434
|
+
<span class='object_link'><a href="RockdoveServer.html#stop-instance_method" title="RockdoveServer#stop (method)">#stop</a></span>
|
435
|
+
|
436
|
+
<small>RockdoveServer</small>
|
437
|
+
|
438
|
+
</li>
|
439
|
+
|
440
|
+
|
441
|
+
<li class="r2 ">
|
442
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#subject-instance_method" title="Rockdove::ExchangeMail#subject (method)">#subject</a></span>
|
443
|
+
|
444
|
+
<small>Rockdove::ExchangeMail</small>
|
445
|
+
|
446
|
+
</li>
|
447
|
+
|
448
|
+
|
449
|
+
<li class="r1 ">
|
450
|
+
<span class='object_link'><a href="Rockdove/ExchangeMail.html#to_recipients-instance_method" title="Rockdove::ExchangeMail#to_recipients (method)">#to_recipients</a></span>
|
451
|
+
|
452
|
+
<small>Rockdove::ExchangeMail</small>
|
453
|
+
|
454
|
+
</li>
|
455
|
+
|
456
|
+
|
457
|
+
<li class="r2 ">
|
458
|
+
<span class='object_link'><a href="Rockdove/Config.html#url-class_method" title="Rockdove::Config.url (method)">url</a></span>
|
459
|
+
|
460
|
+
<small>Rockdove::Config</small>
|
461
|
+
|
462
|
+
</li>
|
463
|
+
|
464
|
+
|
465
|
+
<li class="r1 ">
|
466
|
+
<span class='object_link'><a href="Rockdove/Config.html#username-class_method" title="Rockdove::Config.username (method)">username</a></span>
|
467
|
+
|
468
|
+
<small>Rockdove::Config</small>
|
469
|
+
|
470
|
+
</li>
|
471
|
+
|
472
|
+
|
473
|
+
<li class="r2 ">
|
474
|
+
<span class='object_link'><a href="Rockdove/CollectMail.html#watch-class_method" title="Rockdove::CollectMail.watch (method)">watch</a></span>
|
475
|
+
|
476
|
+
<small>Rockdove::CollectMail</small>
|
477
|
+
|
478
|
+
</li>
|
479
|
+
|
480
|
+
|
481
|
+
<li class="r1 ">
|
482
|
+
<span class='object_link'><a href="Rockdove/Config.html#watch_interval-class_method" title="Rockdove::Config.watch_interval (method)">watch_interval</a></span>
|
483
|
+
|
484
|
+
<small>Rockdove::Config</small>
|
485
|
+
|
486
|
+
</li>
|
487
|
+
|
488
|
+
|
489
|
+
</ul>
|
490
|
+
</div>
|
491
|
+
</body>
|
492
|
+
</html>
|
@@ -0,0 +1,126 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Top Level Namespace
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.2.1
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">Top Level Namespace</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Top Level Namespace
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
</dl>
|
82
|
+
<div class="clear"></div>
|
83
|
+
|
84
|
+
<h2>Defined Under Namespace</h2>
|
85
|
+
<p class="children">
|
86
|
+
|
87
|
+
|
88
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Rockdove.html" title="Rockdove (module)">Rockdove</a></span>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="RockdoveServer.html" title="RockdoveServer (class)">RockdoveServer</a></span>
|
93
|
+
|
94
|
+
|
95
|
+
</p>
|
96
|
+
|
97
|
+
<h2>Constant Summary</h2>
|
98
|
+
|
99
|
+
<dl class="constants">
|
100
|
+
|
101
|
+
<dt id="GENERATOR_PATH-constant" class="">GENERATOR_PATH =
|
102
|
+
|
103
|
+
</dt>
|
104
|
+
<dd><pre class="code"><span class='id identifier rubyid_dir'>dir</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>../generators/rockdove</span><span class='tstring_end'>'</span></span></pre></dd>
|
105
|
+
|
106
|
+
</dl>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
|
119
|
+
<div id="footer">
|
120
|
+
Generated on Wed Jul 11 11:40:24 2012 by
|
121
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
122
|
+
0.8.2.1 (ruby-1.9.2).
|
123
|
+
</div>
|
124
|
+
|
125
|
+
</body>
|
126
|
+
</html>
|
@@ -6,6 +6,7 @@ module Rockdove
|
|
6
6
|
class ExchangeMail
|
7
7
|
extend Forwardable
|
8
8
|
|
9
|
+
# The below specifics can be accessed via Rockdove::ExchangeMail @class_instance.
|
9
10
|
def_delegators :@mail_item, :to_recipients, :date_time_created, :date_time_sent, :from, :body, :body_type
|
10
11
|
def_delegators :@mail_item, :subject, :body, :has_attachments?, :attachments, :text_only=, :text_only?
|
11
12
|
|
@@ -15,48 +16,59 @@ module Rockdove
|
|
15
16
|
@mail_item = mail_item
|
16
17
|
@connection = connection
|
17
18
|
end
|
18
|
-
|
19
|
+
|
20
|
+
# Get a list of to recipients by accessing Rockdove::ExchangeMail @class_instance.to_recipients
|
19
21
|
def to_recipients
|
20
22
|
@mail_item.to_recipients.collect &:email_address if @mail_item.to_recipients
|
21
23
|
end
|
22
24
|
|
25
|
+
# Get a list of cc recipients by accessing Rockdove::ExchangeMail @class_instance.cc_recipients
|
23
26
|
def cc_recipients
|
24
27
|
@mail_item.cc_recipients.collect &:email_address if @mail_item.cc_recipients
|
25
28
|
end
|
26
29
|
|
30
|
+
# Retrieve from email address by accessing Rockdove::ExchangeMail @class_instance.from
|
27
31
|
def from
|
28
32
|
@mail_item.from.email_address if @mail_item.from
|
29
33
|
end
|
30
|
-
|
34
|
+
|
35
|
+
# Retrieve subject of the mail by accessing Rockdove::ExchangeMail @class_instance.subject
|
31
36
|
def subject
|
32
37
|
@mail_item.subject
|
33
38
|
end
|
34
39
|
|
40
|
+
# Retrieve parsed body content of the mail by accessing Rockdove::ExchangeMail @class_instance.body
|
35
41
|
def body
|
36
42
|
mail = get_items(@mail_item)
|
37
43
|
parse_it(mail.first.body, mail.first.body_type) unless mail.first.body.empty?
|
38
44
|
end
|
39
45
|
|
46
|
+
# Retrieves the mail item with text type body content
|
40
47
|
def get_items(mail)
|
41
48
|
@connection.get_items([mail.id], nil, {:item_shape => retrieve_text_type})
|
42
49
|
end
|
43
50
|
|
51
|
+
# Retrieve collection of attachments by accessing Rockdove::ExchangeMail @class_instance.attachments
|
44
52
|
def attachments
|
45
53
|
@mail_item.attachments
|
46
54
|
end
|
47
55
|
|
56
|
+
# Retrieve date_time_created of the mail by accessing Rockdove::ExchangeMail @class_instance.date_time_created
|
48
57
|
def date_time_created
|
49
58
|
@mail_item.date_time_created
|
50
59
|
end
|
51
60
|
|
61
|
+
# Retrieve date_time_sent of the mail by accessing Rockdove::ExchangeMail @class_instance.date_time_sent
|
52
62
|
def date_time_sent
|
53
63
|
@mail_item.date_time_sent
|
54
64
|
end
|
55
65
|
|
66
|
+
# This method parses the mail content provided @params of body and body_type
|
56
67
|
def parse_it(mail_body, type)
|
57
68
|
Rockdove::EmailParser.parse_mail(mail_body, type)
|
58
69
|
end
|
59
70
|
|
71
|
+
# Retrieves text type body content of the mail
|
60
72
|
def retrieve_text_type
|
61
73
|
{:base_shape=>"AllProperties", :body_type=>"Text"}
|
62
74
|
end
|
data/lib/rockdove/version.rb
CHANGED