gmail 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +27 -27
  3. data/.rspec +1 -1
  4. data/.rubocop.yml +13 -13
  5. data/.rubocop_todo.yml +239 -239
  6. data/.travis.yml +19 -19
  7. data/CHANGELOG.md +145 -139
  8. data/Gemfile +3 -3
  9. data/LICENSE +21 -21
  10. data/README.md +355 -354
  11. data/Rakefile +46 -46
  12. data/gmail.gemspec +34 -34
  13. data/lib/gmail.rb +78 -78
  14. data/lib/gmail/client.rb +34 -34
  15. data/lib/gmail/client/base.rb +229 -229
  16. data/lib/gmail/client/plain.rb +24 -24
  17. data/lib/gmail/client/xoauth.rb +68 -68
  18. data/lib/gmail/client/xoauth2.rb +39 -39
  19. data/lib/gmail/imap_extensions.rb +159 -150
  20. data/lib/gmail/labels.rb +79 -79
  21. data/lib/gmail/mailbox.rb +175 -135
  22. data/lib/gmail/message.rb +207 -207
  23. data/lib/gmail/version.rb +3 -3
  24. data/spec/account.yml.example +1 -1
  25. data/spec/account.yml.obfus +2 -2
  26. data/spec/gmail/client/base_spec.rb +5 -5
  27. data/spec/gmail/client/plain_spec.rb +169 -168
  28. data/spec/gmail/client/xoauth2_spec.rb +186 -186
  29. data/spec/gmail/client/xoauth_spec.rb +5 -5
  30. data/spec/gmail/client_spec.rb +5 -5
  31. data/spec/gmail/imap_extensions_spec.rb +47 -12
  32. data/spec/gmail/labels_spec.rb +27 -18
  33. data/spec/gmail/mailbox_spec.rb +84 -47
  34. data/spec/gmail/message_spec.rb +181 -181
  35. data/spec/gmail_spec.rb +39 -39
  36. data/spec/recordings/gmail/_new_connects_with_client_and_give_it_context_when_block_given.yml +28 -28
  37. data/spec/recordings/gmail/_new_connects_with_gmail_service_and_return_valid_connection_object.yml +28 -28
  38. data/spec/recordings/gmail/_new_does_not_raise_error_when_couldn_t_connect_with_given_account.yml +13 -13
  39. data/spec/recordings/gmail/_new_raises_error_when_couldn_t_connect_with_given_account.yml +13 -13
  40. data/spec/recordings/gmail_client_plain/instance/_connection_automatically_logs_in_to_gmail_account_when_it_s_called.yml +42 -42
  41. data/spec/recordings/gmail_client_plain/instance/delivers_inline_composed_email.yml +42 -42
  42. data/spec/recordings/gmail_client_plain/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
  43. data/spec/recordings/gmail_client_plain/instance/does_not_raise_error_even_though_gmail_account_is_invalid.yml +13 -13
  44. data/spec/recordings/gmail_client_plain/instance/labels/checks_if_there_is_given_label_defined.yml +196 -196
  45. data/spec/recordings/gmail_client_plain/instance/labels/creates_given_label.yml +151 -151
  46. data/spec/recordings/gmail_client_plain/instance/labels/removes_existing_label.yml +146 -146
  47. data/spec/recordings/gmail_client_plain/instance/labels/returns_list_of_all_available_labels.yml +113 -113
  48. data/spec/recordings/gmail_client_plain/instance/properly_logs_in_to_valid_gmail_account.yml +42 -42
  49. data/spec/recordings/gmail_client_plain/instance/properly_logs_out_from_gmail.yml +42 -42
  50. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox.yml +109 -109
  51. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox_using_block_style.yml +109 -109
  52. data/spec/recordings/gmail_client_plain/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
  53. data/spec/recordings/gmail_client_xo_auth2/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
  54. data/spec/recordings/gmail_client_xo_auth2/instance/labels/checks_if_there_is_given_label_defined.yml +27 -27
  55. data/spec/recordings/gmail_client_xo_auth2/instance/labels/creates_given_label.yml +39 -39
  56. data/spec/recordings/gmail_client_xo_auth2/instance/labels/removes_existing_label.yml +39 -39
  57. data/spec/recordings/gmail_client_xo_auth2/instance/labels/returns_list_of_all_available_labels.yml +27 -27
  58. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_in_to_valid_gmail_account.yml +15 -15
  59. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_out_from_gmail.yml +15 -15
  60. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox.yml +40 -40
  61. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox_using_block_style.yml +40 -40
  62. data/spec/recordings/gmail_client_xo_auth2/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
  63. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/all/localizes_into_the_appropriate_label.yml +116 -116
  64. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/and_the_mailbox_does_not_exist/returns_the_mailbox_name_as_a_string.yml +110 -0
  65. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/drafts/localizes_into_the_appropriate_label.yml +116 -116
  66. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/flagged/localizes_into_the_appropriate_label.yml +116 -116
  67. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/important/localizes_into_the_appropriate_label.yml +116 -116
  68. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/inbox/localizes_into_the_appropriate_label.yml +42 -42
  69. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/junk/localizes_into_the_appropriate_label.yml +116 -116
  70. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/sent/localizes_into_the_appropriate_label.yml +116 -116
  71. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/trash/localizes_into_the_appropriate_label.yml +116 -116
  72. data/spec/recordings/gmail_mailbox/instance/counts_all_emails.yml +277 -277
  73. data/spec/recordings/gmail_mailbox/instance/finds_messages.yml +586 -586
  74. data/spec/recordings/gmail_mailbox/instance/waits_once.yml +136 -0
  75. data/spec/recordings/gmail_mailbox/instance/waits_repeatedly.yml +141 -0
  76. data/spec/recordings/gmail_mailbox/instance/waits_with_29-minute_re-issue.yml +136 -0
  77. data/spec/recordings/gmail_mailbox/instance/waits_with_an_unblocked_connection.yml +207 -0
  78. data/spec/recordings/gmail_mailbox/on_initialize/sets_client_and_name.yml +42 -42
  79. data/spec/recordings/gmail_mailbox/on_initialize/works_in_inbox_by_default.yml +42 -42
  80. data/spec/recordings/gmail_message/initialize/sets_prefetch_attrs.yml +578 -578
  81. data/spec/recordings/gmail_message/initialize/sets_uid_and_mailbox.yml +580 -580
  82. data/spec/recordings/gmail_message/instance_methods/deletes_itself.yml +637 -637
  83. data/spec/recordings/gmail_message/instance_methods/marks_itself_read.yml +682 -682
  84. data/spec/recordings/gmail_message/instance_methods/marks_itself_unread.yml +686 -686
  85. data/spec/recordings/gmail_message/instance_methods/moves_from_one_tag_to_other.yml +862 -862
  86. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label.yml +776 -776
  87. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label_with_old_method.yml +776 -776
  88. data/spec/recordings/gmail_message/instance_methods/sets_given_label.yml +690 -690
  89. data/spec/recordings/gmail_message/instance_methods/sets_given_label_with_old_method.yml +691 -691
  90. data/spec/spec_helper.rb +53 -53
  91. data/spec/support/imap_mock.rb +181 -129
  92. data/spec/support/obfuscation.rb +52 -52
  93. metadata +78 -5
@@ -1,686 +1,686 @@
1
- ---
2
- LOGIN-9a890af1c86854f5170d99be6e10b8f1:
3
- - - :return
4
- - !ruby/struct:Net::IMAP::TaggedResponse
5
- tag: RUBY0001
6
- name: OK
7
- data: !ruby/struct:Net::IMAP::ResponseText
8
- code:
9
- text: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated (Success)
10
- raw_data: "RUBY0001 OK ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated
11
- (Success)\r\n"
12
- - CAPABILITY: &1
13
- - - IMAP4REV1
14
- - UNSELECT
15
- - IDLE
16
- - NAMESPACE
17
- - QUOTA
18
- - ID
19
- - XLIST
20
- - CHILDREN
21
- - X-GM-EXT-1
22
- - UIDPLUS
23
- - COMPRESS=DEFLATE
24
- - ENABLE
25
- - MOVE
26
- - CONDSTORE
27
- - ESEARCH
28
- - UTF8=ACCEPT
29
- LIST-b30698c3407aff5520448484b159fc07:
30
- - - :return
31
- - !ruby/struct:Net::IMAP::TaggedResponse
32
- tag: RUBY0002
33
- name: OK
34
- data: !ruby/struct:Net::IMAP::ResponseText
35
- code:
36
- text: Success
37
- raw_data: "RUBY0002 OK Success\r\n"
38
- - CAPABILITY: *1
39
- LIST:
40
- - !ruby/struct:Net::IMAP::MailboxList
41
- attr:
42
- - :Hasnochildren
43
- delim: "/"
44
- name: Awesome
45
- - !ruby/struct:Net::IMAP::MailboxList
46
- attr:
47
- - :Hasnochildren
48
- delim: "/"
49
- name: Great
50
- - !ruby/struct:Net::IMAP::MailboxList
51
- attr:
52
- - :Hasnochildren
53
- delim: "/"
54
- name: INBOX
55
- - !ruby/struct:Net::IMAP::MailboxList
56
- attr:
57
- - :Hasnochildren
58
- delim: "/"
59
- name: Ni&APE-os
60
- - !ruby/struct:Net::IMAP::MailboxList
61
- attr:
62
- - :Noselect
63
- - :Haschildren
64
- delim: "/"
65
- name: "[Gmail]"
66
- - !ruby/struct:Net::IMAP::MailboxList
67
- attr:
68
- - :Hasnochildren
69
- - :All
70
- delim: "/"
71
- name: "[Gmail]/All Mail"
72
- - !ruby/struct:Net::IMAP::MailboxList
73
- attr:
74
- - :Hasnochildren
75
- - :Drafts
76
- delim: "/"
77
- name: "[Gmail]/Drafts"
78
- - !ruby/struct:Net::IMAP::MailboxList
79
- attr:
80
- - :Hasnochildren
81
- - :Important
82
- delim: "/"
83
- name: "[Gmail]/Important"
84
- - !ruby/struct:Net::IMAP::MailboxList
85
- attr:
86
- - :Sent
87
- - :Hasnochildren
88
- delim: "/"
89
- name: "[Gmail]/Sent Mail"
90
- - !ruby/struct:Net::IMAP::MailboxList
91
- attr:
92
- - :Hasnochildren
93
- - :Junk
94
- delim: "/"
95
- name: "[Gmail]/Spam"
96
- - !ruby/struct:Net::IMAP::MailboxList
97
- attr:
98
- - :Hasnochildren
99
- - :Flagged
100
- delim: "/"
101
- name: "[Gmail]/Starred"
102
- - !ruby/struct:Net::IMAP::MailboxList
103
- attr:
104
- - :Trash
105
- - :Hasnochildren
106
- delim: "/"
107
- name: "[Gmail]/Trash"
108
- - !ruby/struct:Net::IMAP::MailboxList
109
- attr:
110
- - :Hasnochildren
111
- delim: "/"
112
- name: one's and two's
113
- - !ruby/struct:Net::IMAP::MailboxList
114
- attr:
115
- - :Hasnochildren
116
- delim: "/"
117
- name: some new label
118
- - !ruby/struct:Net::IMAP::MailboxList
119
- attr:
120
- - :Hasnochildren
121
- delim: "/"
122
- name: some other label
123
- SELECT-868fce8856c91e50bebd43b4dbd8e071:
124
- - - :return
125
- - !ruby/struct:Net::IMAP::TaggedResponse
126
- tag: RUBY0003
127
- name: OK
128
- data: !ruby/struct:Net::IMAP::ResponseText
129
- code: !ruby/struct:Net::IMAP::ResponseCode
130
- name: READ-WRITE
131
- data:
132
- text: " [Gmail]/All Mail selected. (Success)"
133
- raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
134
- - FLAGS: &6
135
- - - :Answered
136
- - :Flagged
137
- - :Draft
138
- - :Deleted
139
- - :Seen
140
- - "$Phishing"
141
- - "$NotPhishing"
142
- OK: &7
143
- - !ruby/struct:Net::IMAP::ResponseText
144
- code: !ruby/struct:Net::IMAP::ResponseCode
145
- name: PERMANENTFLAGS
146
- data: &2
147
- - :Answered
148
- - :Flagged
149
- - :Draft
150
- - :Deleted
151
- - :Seen
152
- - "$Phishing"
153
- - "$NotPhishing"
154
- - :*
155
- text: " Flags permitted."
156
- - !ruby/struct:Net::IMAP::ResponseText
157
- code: !ruby/struct:Net::IMAP::ResponseCode
158
- name: UIDVALIDITY
159
- data: 11
160
- text: " UIDs valid."
161
- - !ruby/struct:Net::IMAP::ResponseText
162
- code: !ruby/struct:Net::IMAP::ResponseCode
163
- name: UIDNEXT
164
- data: 190
165
- text: " Predicted next UID."
166
- - !ruby/struct:Net::IMAP::ResponseText
167
- code: !ruby/struct:Net::IMAP::ResponseCode
168
- name: HIGHESTMODSEQ
169
- data: '14790'
170
- text: ''
171
- PERMANENTFLAGS: &8
172
- - *2
173
- UIDVALIDITY: &9
174
- - 11
175
- EXISTS: &10
176
- - 181
177
- RECENT: &11
178
- - 0
179
- UIDNEXT: &12
180
- - 190
181
- HIGHESTMODSEQ: &13
182
- - '14790'
183
- - - :return
184
- - !ruby/struct:Net::IMAP::TaggedResponse
185
- tag: RUBY0005
186
- name: OK
187
- data: !ruby/struct:Net::IMAP::ResponseText
188
- code: !ruby/struct:Net::IMAP::ResponseCode
189
- name: READ-WRITE
190
- data:
191
- text: " [Gmail]/All Mail selected. (Success)"
192
- raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
193
- - FLAGS: &14
194
- - - :Answered
195
- - :Flagged
196
- - :Draft
197
- - :Deleted
198
- - :Seen
199
- - "$Phishing"
200
- - "$NotPhishing"
201
- OK: &15
202
- - !ruby/struct:Net::IMAP::ResponseText
203
- code: !ruby/struct:Net::IMAP::ResponseCode
204
- name: PERMANENTFLAGS
205
- data: &3
206
- - :Answered
207
- - :Flagged
208
- - :Draft
209
- - :Deleted
210
- - :Seen
211
- - "$Phishing"
212
- - "$NotPhishing"
213
- - :*
214
- text: " Flags permitted."
215
- - !ruby/struct:Net::IMAP::ResponseText
216
- code: !ruby/struct:Net::IMAP::ResponseCode
217
- name: UIDVALIDITY
218
- data: 11
219
- text: " UIDs valid."
220
- - !ruby/struct:Net::IMAP::ResponseText
221
- code: !ruby/struct:Net::IMAP::ResponseCode
222
- name: UIDNEXT
223
- data: 190
224
- text: " Predicted next UID."
225
- - !ruby/struct:Net::IMAP::ResponseText
226
- code: !ruby/struct:Net::IMAP::ResponseCode
227
- name: HIGHESTMODSEQ
228
- data: '14790'
229
- text: ''
230
- PERMANENTFLAGS: &16
231
- - *3
232
- UIDVALIDITY: &17
233
- - 11
234
- EXISTS: &18
235
- - 181
236
- RECENT: &19
237
- - 0
238
- UIDNEXT: &20
239
- - 190
240
- HIGHESTMODSEQ: &21
241
- - '14790'
242
- - - :return
243
- - !ruby/struct:Net::IMAP::TaggedResponse
244
- tag: RUBY0007
245
- name: OK
246
- data: !ruby/struct:Net::IMAP::ResponseText
247
- code: !ruby/struct:Net::IMAP::ResponseCode
248
- name: READ-WRITE
249
- data:
250
- text: " [Gmail]/All Mail selected. (Success)"
251
- raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
252
- - FLAGS: &22
253
- - - :Answered
254
- - :Flagged
255
- - :Draft
256
- - :Deleted
257
- - :Seen
258
- - "$Phishing"
259
- - "$NotPhishing"
260
- OK: &23
261
- - !ruby/struct:Net::IMAP::ResponseText
262
- code: !ruby/struct:Net::IMAP::ResponseCode
263
- name: PERMANENTFLAGS
264
- data: &4
265
- - :Answered
266
- - :Flagged
267
- - :Draft
268
- - :Deleted
269
- - :Seen
270
- - "$Phishing"
271
- - "$NotPhishing"
272
- - :*
273
- text: " Flags permitted."
274
- - !ruby/struct:Net::IMAP::ResponseText
275
- code: !ruby/struct:Net::IMAP::ResponseCode
276
- name: UIDVALIDITY
277
- data: 11
278
- text: " UIDs valid."
279
- - !ruby/struct:Net::IMAP::ResponseText
280
- code: !ruby/struct:Net::IMAP::ResponseCode
281
- name: UIDNEXT
282
- data: 190
283
- text: " Predicted next UID."
284
- - !ruby/struct:Net::IMAP::ResponseText
285
- code: !ruby/struct:Net::IMAP::ResponseCode
286
- name: HIGHESTMODSEQ
287
- data: '14815'
288
- text: ''
289
- PERMANENTFLAGS: &24
290
- - *4
291
- UIDVALIDITY: &25
292
- - 11
293
- EXISTS: &26
294
- - 181
295
- RECENT: &27
296
- - 0
297
- UIDNEXT: &28
298
- - 190
299
- HIGHESTMODSEQ: &29
300
- - '14815'
301
- - - :return
302
- - !ruby/struct:Net::IMAP::TaggedResponse
303
- tag: RUBY0009
304
- name: OK
305
- data: !ruby/struct:Net::IMAP::ResponseText
306
- code: !ruby/struct:Net::IMAP::ResponseCode
307
- name: READ-WRITE
308
- data:
309
- text: " [Gmail]/All Mail selected. (Success)"
310
- raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
311
- - FLAGS: &30
312
- - - :Answered
313
- - :Flagged
314
- - :Draft
315
- - :Deleted
316
- - :Seen
317
- - "$Phishing"
318
- - "$NotPhishing"
319
- OK: &31
320
- - !ruby/struct:Net::IMAP::ResponseText
321
- code: !ruby/struct:Net::IMAP::ResponseCode
322
- name: PERMANENTFLAGS
323
- data: &5
324
- - :Answered
325
- - :Flagged
326
- - :Draft
327
- - :Deleted
328
- - :Seen
329
- - "$Phishing"
330
- - "$NotPhishing"
331
- - :*
332
- text: " Flags permitted."
333
- - !ruby/struct:Net::IMAP::ResponseText
334
- code: !ruby/struct:Net::IMAP::ResponseCode
335
- name: UIDVALIDITY
336
- data: 11
337
- text: " UIDs valid."
338
- - !ruby/struct:Net::IMAP::ResponseText
339
- code: !ruby/struct:Net::IMAP::ResponseCode
340
- name: UIDNEXT
341
- data: 190
342
- text: " Predicted next UID."
343
- - !ruby/struct:Net::IMAP::ResponseText
344
- code: !ruby/struct:Net::IMAP::ResponseCode
345
- name: HIGHESTMODSEQ
346
- data: '14840'
347
- text: ''
348
- PERMANENTFLAGS: &32
349
- - *5
350
- UIDVALIDITY: &33
351
- - 11
352
- EXISTS: &34
353
- - 181
354
- RECENT: &35
355
- - 0
356
- UIDNEXT: &36
357
- - 190
358
- HIGHESTMODSEQ: &37
359
- - '14840'
360
- UID SEARCH-0010f3078427015fc193bf14c1871582:
361
- - - :return
362
- - !ruby/struct:Net::IMAP::TaggedResponse
363
- tag: RUBY0004
364
- name: OK
365
- data: !ruby/struct:Net::IMAP::ResponseText
366
- code:
367
- text: SEARCH completed (Success)
368
- raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
369
- - FLAGS: *6
370
- OK: *7
371
- PERMANENTFLAGS: *8
372
- UIDVALIDITY: *9
373
- EXISTS: *10
374
- RECENT: *11
375
- UIDNEXT: *12
376
- HIGHESTMODSEQ: *13
377
- SEARCH:
378
- - - 4
379
- - 5
380
- - 11
381
- - 12
382
- - 13
383
- - 14
384
- - 15
385
- - 16
386
- - 17
387
- - 18
388
- - 19
389
- - 20
390
- - 21
391
- - 22
392
- - 23
393
- - 24
394
- - 25
395
- - 26
396
- - 27
397
- - 28
398
- - 29
399
- - 30
400
- - 31
401
- - 32
402
- - 33
403
- - 34
404
- - 35
405
- - 36
406
- - 37
407
- - 38
408
- - 39
409
- - 40
410
- - 41
411
- - 42
412
- - 43
413
- - 44
414
- - 45
415
- - 46
416
- - 47
417
- - 48
418
- - 49
419
- - 50
420
- - 51
421
- - 52
422
- - 53
423
- - 54
424
- - 55
425
- - 56
426
- - 57
427
- - 58
428
- - 59
429
- - 60
430
- - 61
431
- - 62
432
- - 63
433
- - 64
434
- - 65
435
- - 66
436
- - 67
437
- - 68
438
- - 69
439
- - 70
440
- - 71
441
- - 72
442
- - 73
443
- - 74
444
- - 75
445
- - 76
446
- - 77
447
- - 78
448
- - 79
449
- - 80
450
- - 81
451
- - 82
452
- - 83
453
- - 84
454
- - 85
455
- - 86
456
- - 87
457
- - 88
458
- - 89
459
- - 90
460
- - 91
461
- - 92
462
- - 93
463
- - 94
464
- - 95
465
- - 96
466
- - 97
467
- - 98
468
- - 99
469
- - 100
470
- - 101
471
- - 102
472
- - 103
473
- - 104
474
- - 105
475
- - 106
476
- - 107
477
- - 108
478
- - 109
479
- - 110
480
- - 111
481
- - 112
482
- - 113
483
- - 114
484
- - 115
485
- - 116
486
- - 117
487
- - 118
488
- - 119
489
- - 120
490
- - 121
491
- - 122
492
- - 123
493
- - 124
494
- - 125
495
- - 126
496
- - 127
497
- - 128
498
- - 129
499
- - 130
500
- - 131
501
- - 132
502
- - 133
503
- - 134
504
- - 135
505
- - 136
506
- - 137
507
- - 138
508
- - 139
509
- - 140
510
- - 141
511
- - 142
512
- - 143
513
- - 144
514
- - 145
515
- - 157
516
- - 158
517
- - 159
518
- - 160
519
- - 161
520
- - 162
521
- - 166
522
- - 167
523
- - 168
524
- - 169
525
- - 170
526
- - 171
527
- - 172
528
- - 173
529
- - 174
530
- - 175
531
- - 176
532
- - 177
533
- - 178
534
- - 179
535
- - 180
536
- - 181
537
- - 182
538
- - 183
539
- - 184
540
- - 185
541
- - 188
542
- UID STORE-496a62292a2518ec1012e07027b7f91f:
543
- - - :return
544
- - !ruby/struct:Net::IMAP::TaggedResponse
545
- tag: RUBY0006
546
- name: OK
547
- data: !ruby/struct:Net::IMAP::ResponseText
548
- code:
549
- text: Success
550
- raw_data: "RUBY0006 OK Success\r\n"
551
- - FLAGS: *14
552
- OK: *15
553
- PERMANENTFLAGS: *16
554
- UIDVALIDITY: *17
555
- EXISTS: *18
556
- RECENT: *19
557
- UIDNEXT: *20
558
- HIGHESTMODSEQ: *21
559
- FETCH:
560
- - !ruby/struct:Net::IMAP::FetchData
561
- seqno: 180
562
- attr:
563
- FLAGS:
564
- - :Seen
565
- UID: 188
566
- UID STORE-31222f58bd384a4fada4385c5e4576c6:
567
- - - :return
568
- - !ruby/struct:Net::IMAP::TaggedResponse
569
- tag: RUBY0008
570
- name: OK
571
- data: !ruby/struct:Net::IMAP::ResponseText
572
- code:
573
- text: Success
574
- raw_data: "RUBY0008 OK Success\r\n"
575
- - FLAGS: *22
576
- OK: *23
577
- PERMANENTFLAGS: *24
578
- UIDVALIDITY: *25
579
- EXISTS: *26
580
- RECENT: *27
581
- UIDNEXT: *28
582
- HIGHESTMODSEQ: *29
583
- FETCH:
584
- - !ruby/struct:Net::IMAP::FetchData
585
- seqno: 180
586
- attr:
587
- FLAGS: []
588
- UID: 188
589
- UID FETCH-47e3d4cc32db0f62bccc2a0220605acc:
590
- - - :return
591
- - !ruby/struct:Net::IMAP::TaggedResponse
592
- tag: RUBY0010
593
- name: OK
594
- data: !ruby/struct:Net::IMAP::ResponseText
595
- code:
596
- text: Success
597
- raw_data: "RUBY0010 OK Success\r\n"
598
- - FLAGS: *30
599
- OK: *31
600
- PERMANENTFLAGS: *32
601
- UIDVALIDITY: *33
602
- EXISTS: *34
603
- RECENT: *35
604
- UIDNEXT: *36
605
- HIGHESTMODSEQ: *37
606
- FETCH:
607
- - !ruby/struct:Net::IMAP::FetchData
608
- seqno: 180
609
- attr:
610
- X-GM-THRID: 1490770850496356226
611
- X-GM-MSGID: 1490771115289978288
612
- X-GM-LABELS:
613
- - "\\Important"
614
- - "\\Inbox"
615
- - "\\Sent"
616
- UID: 188
617
- FLAGS: []
618
- ENVELOPE: !ruby/struct:Net::IMAP::Envelope
619
- date: Mon, 19 Jan 2015 18:28:44 -0500
620
- subject: 'Re: Hello world!'
621
- from:
622
- - !ruby/struct:Net::IMAP::Address
623
- name: John Doe
624
- route:
625
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
626
- host: gmail.com
627
- sender:
628
- - !ruby/struct:Net::IMAP::Address
629
- name: John Doe
630
- route:
631
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
632
- host: gmail.com
633
- reply_to:
634
- - !ruby/struct:Net::IMAP::Address
635
- name: John Doe
636
- route:
637
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
638
- host: gmail.com
639
- to:
640
- - !ruby/struct:Net::IMAP::Address
641
- name: John Doe
642
- route:
643
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
644
- host: gmail.com
645
- cc:
646
- bcc:
647
- in_reply_to: "<54bd922ea931d_84b7f3988504b6@testing-worker-linux-de84ae74-1-8451-linux-10-47583278.mail>"
648
- message_id: "<CACNRAYLB0c8Hv2yhCLahhiVmvsGXPZVL73tbed4k_mAO-SmKYQ@mail.gmail.com>"
649
- BODY[]: "MIME-Version: 1.0\r\nReceived: by 10.194.209.232 with HTTP; Mon,
650
- 19 Jan 2015 15:28:44 -0800 (PST)\r\nIn-Reply-To: <54bd922ea931d_84b7f3988504b6@testing-worker-linux-de84ae74-1-8451-linux-10-47583278.mail>\r\nReferences:
651
- <54bd922ea931d_84b7f3988504b6@testing-worker-linux-de84ae74-1-8451-linux-10-47583278.mail>\r\nDate:
652
- Mon, 19 Jan 2015 18:28:44 -0500\r\nDelivered-To: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID:
653
- <CACNRAYLB0c8Hv2yhCLahhiVmvsGXPZVL73tbed4k_mAO-SmKYQ@mail.gmail.com>\r\nSubject:
654
- Re: Hello world!\r\nFrom: John Doe <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nTo:
655
- John Doe <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nContent-Type: multipart/alternative;
656
- boundary=047d7ba9798cee15fc050d09ae9e\r\n\r\n--047d7ba9798cee15fc050d09ae9e\r\nContent-Type:
657
- text/plain; charset=UTF-8\r\n\r\nAnother message in the thread!\r\n\r\nOn
658
- Mon, Jan 19, 2015 at 6:24 PM, <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nwrote:\r\n\r\n>
659
- Yeah, hello there!\r\n>\r\n\r\n--047d7ba9798cee15fc050d09ae9e\r\nContent-Type:
660
- text/html; charset=UTF-8\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\n<div
661
- dir=3D\"ltr\">Another message in the thread!</div><div class=3D\"gmail_ex=\r\ntra\"><br><div
662
- class=3D\"gmail_quote\">On Mon, Jan 19, 2015 at 6:24 PM, <span=\r\n dir=3D\"ltr\">&lt;<a
663
- href=3D\"mailto:ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com=\r\n\" target=3D\"_blank\">ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com</a>&gt;</span>=\r\n
664
- wrote:<br><blockquote class=3D\"gmail_quote\" style=3D\"margin:0 0 0 .8ex;bor=\r\nder-left:1px
665
- #ccc solid;padding-left:1ex\">Yeah, hello there!<br>\r\n</blockquote></div><br></div>\r\n\r\n--047d7ba9798cee15fc050d09ae9e--"
666
- LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
667
- - - :return
668
- - !ruby/struct:Net::IMAP::TaggedResponse
669
- tag: RUBY0011
670
- name: OK
671
- data: !ruby/struct:Net::IMAP::ResponseText
672
- code:
673
- text: 73 good day (Success)
674
- raw_data: "RUBY0011 OK 73 good day (Success)\r\n"
675
- - FLAGS: *30
676
- OK: *31
677
- PERMANENTFLAGS: *32
678
- UIDVALIDITY: *33
679
- EXISTS: *34
680
- RECENT: *35
681
- UIDNEXT: *36
682
- HIGHESTMODSEQ: *37
683
- BYE:
684
- - !ruby/struct:Net::IMAP::ResponseText
685
- code:
686
- text: LOGOUT Requested
1
+ ---
2
+ LOGIN-9a890af1c86854f5170d99be6e10b8f1:
3
+ - - :return
4
+ - !ruby/struct:Net::IMAP::TaggedResponse
5
+ tag: RUBY0001
6
+ name: OK
7
+ data: !ruby/struct:Net::IMAP::ResponseText
8
+ code:
9
+ text: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated (Success)
10
+ raw_data: "RUBY0001 OK ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated
11
+ (Success)\r\n"
12
+ - CAPABILITY: &1
13
+ - - IMAP4REV1
14
+ - UNSELECT
15
+ - IDLE
16
+ - NAMESPACE
17
+ - QUOTA
18
+ - ID
19
+ - XLIST
20
+ - CHILDREN
21
+ - X-GM-EXT-1
22
+ - UIDPLUS
23
+ - COMPRESS=DEFLATE
24
+ - ENABLE
25
+ - MOVE
26
+ - CONDSTORE
27
+ - ESEARCH
28
+ - UTF8=ACCEPT
29
+ LIST-b30698c3407aff5520448484b159fc07:
30
+ - - :return
31
+ - !ruby/struct:Net::IMAP::TaggedResponse
32
+ tag: RUBY0002
33
+ name: OK
34
+ data: !ruby/struct:Net::IMAP::ResponseText
35
+ code:
36
+ text: Success
37
+ raw_data: "RUBY0002 OK Success\r\n"
38
+ - CAPABILITY: *1
39
+ LIST:
40
+ - !ruby/struct:Net::IMAP::MailboxList
41
+ attr:
42
+ - :Hasnochildren
43
+ delim: "/"
44
+ name: Awesome
45
+ - !ruby/struct:Net::IMAP::MailboxList
46
+ attr:
47
+ - :Hasnochildren
48
+ delim: "/"
49
+ name: Great
50
+ - !ruby/struct:Net::IMAP::MailboxList
51
+ attr:
52
+ - :Hasnochildren
53
+ delim: "/"
54
+ name: INBOX
55
+ - !ruby/struct:Net::IMAP::MailboxList
56
+ attr:
57
+ - :Hasnochildren
58
+ delim: "/"
59
+ name: Ni&APE-os
60
+ - !ruby/struct:Net::IMAP::MailboxList
61
+ attr:
62
+ - :Noselect
63
+ - :Haschildren
64
+ delim: "/"
65
+ name: "[Gmail]"
66
+ - !ruby/struct:Net::IMAP::MailboxList
67
+ attr:
68
+ - :Hasnochildren
69
+ - :All
70
+ delim: "/"
71
+ name: "[Gmail]/All Mail"
72
+ - !ruby/struct:Net::IMAP::MailboxList
73
+ attr:
74
+ - :Hasnochildren
75
+ - :Drafts
76
+ delim: "/"
77
+ name: "[Gmail]/Drafts"
78
+ - !ruby/struct:Net::IMAP::MailboxList
79
+ attr:
80
+ - :Hasnochildren
81
+ - :Important
82
+ delim: "/"
83
+ name: "[Gmail]/Important"
84
+ - !ruby/struct:Net::IMAP::MailboxList
85
+ attr:
86
+ - :Sent
87
+ - :Hasnochildren
88
+ delim: "/"
89
+ name: "[Gmail]/Sent Mail"
90
+ - !ruby/struct:Net::IMAP::MailboxList
91
+ attr:
92
+ - :Hasnochildren
93
+ - :Junk
94
+ delim: "/"
95
+ name: "[Gmail]/Spam"
96
+ - !ruby/struct:Net::IMAP::MailboxList
97
+ attr:
98
+ - :Hasnochildren
99
+ - :Flagged
100
+ delim: "/"
101
+ name: "[Gmail]/Starred"
102
+ - !ruby/struct:Net::IMAP::MailboxList
103
+ attr:
104
+ - :Trash
105
+ - :Hasnochildren
106
+ delim: "/"
107
+ name: "[Gmail]/Trash"
108
+ - !ruby/struct:Net::IMAP::MailboxList
109
+ attr:
110
+ - :Hasnochildren
111
+ delim: "/"
112
+ name: one's and two's
113
+ - !ruby/struct:Net::IMAP::MailboxList
114
+ attr:
115
+ - :Hasnochildren
116
+ delim: "/"
117
+ name: some new label
118
+ - !ruby/struct:Net::IMAP::MailboxList
119
+ attr:
120
+ - :Hasnochildren
121
+ delim: "/"
122
+ name: some other label
123
+ SELECT-868fce8856c91e50bebd43b4dbd8e071:
124
+ - - :return
125
+ - !ruby/struct:Net::IMAP::TaggedResponse
126
+ tag: RUBY0003
127
+ name: OK
128
+ data: !ruby/struct:Net::IMAP::ResponseText
129
+ code: !ruby/struct:Net::IMAP::ResponseCode
130
+ name: READ-WRITE
131
+ data:
132
+ text: " [Gmail]/All Mail selected. (Success)"
133
+ raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
134
+ - FLAGS: &6
135
+ - - :Answered
136
+ - :Flagged
137
+ - :Draft
138
+ - :Deleted
139
+ - :Seen
140
+ - "$Phishing"
141
+ - "$NotPhishing"
142
+ OK: &7
143
+ - !ruby/struct:Net::IMAP::ResponseText
144
+ code: !ruby/struct:Net::IMAP::ResponseCode
145
+ name: PERMANENTFLAGS
146
+ data: &2
147
+ - :Answered
148
+ - :Flagged
149
+ - :Draft
150
+ - :Deleted
151
+ - :Seen
152
+ - "$Phishing"
153
+ - "$NotPhishing"
154
+ - :*
155
+ text: " Flags permitted."
156
+ - !ruby/struct:Net::IMAP::ResponseText
157
+ code: !ruby/struct:Net::IMAP::ResponseCode
158
+ name: UIDVALIDITY
159
+ data: 11
160
+ text: " UIDs valid."
161
+ - !ruby/struct:Net::IMAP::ResponseText
162
+ code: !ruby/struct:Net::IMAP::ResponseCode
163
+ name: UIDNEXT
164
+ data: 190
165
+ text: " Predicted next UID."
166
+ - !ruby/struct:Net::IMAP::ResponseText
167
+ code: !ruby/struct:Net::IMAP::ResponseCode
168
+ name: HIGHESTMODSEQ
169
+ data: '14790'
170
+ text: ''
171
+ PERMANENTFLAGS: &8
172
+ - *2
173
+ UIDVALIDITY: &9
174
+ - 11
175
+ EXISTS: &10
176
+ - 181
177
+ RECENT: &11
178
+ - 0
179
+ UIDNEXT: &12
180
+ - 190
181
+ HIGHESTMODSEQ: &13
182
+ - '14790'
183
+ - - :return
184
+ - !ruby/struct:Net::IMAP::TaggedResponse
185
+ tag: RUBY0005
186
+ name: OK
187
+ data: !ruby/struct:Net::IMAP::ResponseText
188
+ code: !ruby/struct:Net::IMAP::ResponseCode
189
+ name: READ-WRITE
190
+ data:
191
+ text: " [Gmail]/All Mail selected. (Success)"
192
+ raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
193
+ - FLAGS: &14
194
+ - - :Answered
195
+ - :Flagged
196
+ - :Draft
197
+ - :Deleted
198
+ - :Seen
199
+ - "$Phishing"
200
+ - "$NotPhishing"
201
+ OK: &15
202
+ - !ruby/struct:Net::IMAP::ResponseText
203
+ code: !ruby/struct:Net::IMAP::ResponseCode
204
+ name: PERMANENTFLAGS
205
+ data: &3
206
+ - :Answered
207
+ - :Flagged
208
+ - :Draft
209
+ - :Deleted
210
+ - :Seen
211
+ - "$Phishing"
212
+ - "$NotPhishing"
213
+ - :*
214
+ text: " Flags permitted."
215
+ - !ruby/struct:Net::IMAP::ResponseText
216
+ code: !ruby/struct:Net::IMAP::ResponseCode
217
+ name: UIDVALIDITY
218
+ data: 11
219
+ text: " UIDs valid."
220
+ - !ruby/struct:Net::IMAP::ResponseText
221
+ code: !ruby/struct:Net::IMAP::ResponseCode
222
+ name: UIDNEXT
223
+ data: 190
224
+ text: " Predicted next UID."
225
+ - !ruby/struct:Net::IMAP::ResponseText
226
+ code: !ruby/struct:Net::IMAP::ResponseCode
227
+ name: HIGHESTMODSEQ
228
+ data: '14790'
229
+ text: ''
230
+ PERMANENTFLAGS: &16
231
+ - *3
232
+ UIDVALIDITY: &17
233
+ - 11
234
+ EXISTS: &18
235
+ - 181
236
+ RECENT: &19
237
+ - 0
238
+ UIDNEXT: &20
239
+ - 190
240
+ HIGHESTMODSEQ: &21
241
+ - '14790'
242
+ - - :return
243
+ - !ruby/struct:Net::IMAP::TaggedResponse
244
+ tag: RUBY0007
245
+ name: OK
246
+ data: !ruby/struct:Net::IMAP::ResponseText
247
+ code: !ruby/struct:Net::IMAP::ResponseCode
248
+ name: READ-WRITE
249
+ data:
250
+ text: " [Gmail]/All Mail selected. (Success)"
251
+ raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
252
+ - FLAGS: &22
253
+ - - :Answered
254
+ - :Flagged
255
+ - :Draft
256
+ - :Deleted
257
+ - :Seen
258
+ - "$Phishing"
259
+ - "$NotPhishing"
260
+ OK: &23
261
+ - !ruby/struct:Net::IMAP::ResponseText
262
+ code: !ruby/struct:Net::IMAP::ResponseCode
263
+ name: PERMANENTFLAGS
264
+ data: &4
265
+ - :Answered
266
+ - :Flagged
267
+ - :Draft
268
+ - :Deleted
269
+ - :Seen
270
+ - "$Phishing"
271
+ - "$NotPhishing"
272
+ - :*
273
+ text: " Flags permitted."
274
+ - !ruby/struct:Net::IMAP::ResponseText
275
+ code: !ruby/struct:Net::IMAP::ResponseCode
276
+ name: UIDVALIDITY
277
+ data: 11
278
+ text: " UIDs valid."
279
+ - !ruby/struct:Net::IMAP::ResponseText
280
+ code: !ruby/struct:Net::IMAP::ResponseCode
281
+ name: UIDNEXT
282
+ data: 190
283
+ text: " Predicted next UID."
284
+ - !ruby/struct:Net::IMAP::ResponseText
285
+ code: !ruby/struct:Net::IMAP::ResponseCode
286
+ name: HIGHESTMODSEQ
287
+ data: '14815'
288
+ text: ''
289
+ PERMANENTFLAGS: &24
290
+ - *4
291
+ UIDVALIDITY: &25
292
+ - 11
293
+ EXISTS: &26
294
+ - 181
295
+ RECENT: &27
296
+ - 0
297
+ UIDNEXT: &28
298
+ - 190
299
+ HIGHESTMODSEQ: &29
300
+ - '14815'
301
+ - - :return
302
+ - !ruby/struct:Net::IMAP::TaggedResponse
303
+ tag: RUBY0009
304
+ name: OK
305
+ data: !ruby/struct:Net::IMAP::ResponseText
306
+ code: !ruby/struct:Net::IMAP::ResponseCode
307
+ name: READ-WRITE
308
+ data:
309
+ text: " [Gmail]/All Mail selected. (Success)"
310
+ raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
311
+ - FLAGS: &30
312
+ - - :Answered
313
+ - :Flagged
314
+ - :Draft
315
+ - :Deleted
316
+ - :Seen
317
+ - "$Phishing"
318
+ - "$NotPhishing"
319
+ OK: &31
320
+ - !ruby/struct:Net::IMAP::ResponseText
321
+ code: !ruby/struct:Net::IMAP::ResponseCode
322
+ name: PERMANENTFLAGS
323
+ data: &5
324
+ - :Answered
325
+ - :Flagged
326
+ - :Draft
327
+ - :Deleted
328
+ - :Seen
329
+ - "$Phishing"
330
+ - "$NotPhishing"
331
+ - :*
332
+ text: " Flags permitted."
333
+ - !ruby/struct:Net::IMAP::ResponseText
334
+ code: !ruby/struct:Net::IMAP::ResponseCode
335
+ name: UIDVALIDITY
336
+ data: 11
337
+ text: " UIDs valid."
338
+ - !ruby/struct:Net::IMAP::ResponseText
339
+ code: !ruby/struct:Net::IMAP::ResponseCode
340
+ name: UIDNEXT
341
+ data: 190
342
+ text: " Predicted next UID."
343
+ - !ruby/struct:Net::IMAP::ResponseText
344
+ code: !ruby/struct:Net::IMAP::ResponseCode
345
+ name: HIGHESTMODSEQ
346
+ data: '14840'
347
+ text: ''
348
+ PERMANENTFLAGS: &32
349
+ - *5
350
+ UIDVALIDITY: &33
351
+ - 11
352
+ EXISTS: &34
353
+ - 181
354
+ RECENT: &35
355
+ - 0
356
+ UIDNEXT: &36
357
+ - 190
358
+ HIGHESTMODSEQ: &37
359
+ - '14840'
360
+ UID SEARCH-0010f3078427015fc193bf14c1871582:
361
+ - - :return
362
+ - !ruby/struct:Net::IMAP::TaggedResponse
363
+ tag: RUBY0004
364
+ name: OK
365
+ data: !ruby/struct:Net::IMAP::ResponseText
366
+ code:
367
+ text: SEARCH completed (Success)
368
+ raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
369
+ - FLAGS: *6
370
+ OK: *7
371
+ PERMANENTFLAGS: *8
372
+ UIDVALIDITY: *9
373
+ EXISTS: *10
374
+ RECENT: *11
375
+ UIDNEXT: *12
376
+ HIGHESTMODSEQ: *13
377
+ SEARCH:
378
+ - - 4
379
+ - 5
380
+ - 11
381
+ - 12
382
+ - 13
383
+ - 14
384
+ - 15
385
+ - 16
386
+ - 17
387
+ - 18
388
+ - 19
389
+ - 20
390
+ - 21
391
+ - 22
392
+ - 23
393
+ - 24
394
+ - 25
395
+ - 26
396
+ - 27
397
+ - 28
398
+ - 29
399
+ - 30
400
+ - 31
401
+ - 32
402
+ - 33
403
+ - 34
404
+ - 35
405
+ - 36
406
+ - 37
407
+ - 38
408
+ - 39
409
+ - 40
410
+ - 41
411
+ - 42
412
+ - 43
413
+ - 44
414
+ - 45
415
+ - 46
416
+ - 47
417
+ - 48
418
+ - 49
419
+ - 50
420
+ - 51
421
+ - 52
422
+ - 53
423
+ - 54
424
+ - 55
425
+ - 56
426
+ - 57
427
+ - 58
428
+ - 59
429
+ - 60
430
+ - 61
431
+ - 62
432
+ - 63
433
+ - 64
434
+ - 65
435
+ - 66
436
+ - 67
437
+ - 68
438
+ - 69
439
+ - 70
440
+ - 71
441
+ - 72
442
+ - 73
443
+ - 74
444
+ - 75
445
+ - 76
446
+ - 77
447
+ - 78
448
+ - 79
449
+ - 80
450
+ - 81
451
+ - 82
452
+ - 83
453
+ - 84
454
+ - 85
455
+ - 86
456
+ - 87
457
+ - 88
458
+ - 89
459
+ - 90
460
+ - 91
461
+ - 92
462
+ - 93
463
+ - 94
464
+ - 95
465
+ - 96
466
+ - 97
467
+ - 98
468
+ - 99
469
+ - 100
470
+ - 101
471
+ - 102
472
+ - 103
473
+ - 104
474
+ - 105
475
+ - 106
476
+ - 107
477
+ - 108
478
+ - 109
479
+ - 110
480
+ - 111
481
+ - 112
482
+ - 113
483
+ - 114
484
+ - 115
485
+ - 116
486
+ - 117
487
+ - 118
488
+ - 119
489
+ - 120
490
+ - 121
491
+ - 122
492
+ - 123
493
+ - 124
494
+ - 125
495
+ - 126
496
+ - 127
497
+ - 128
498
+ - 129
499
+ - 130
500
+ - 131
501
+ - 132
502
+ - 133
503
+ - 134
504
+ - 135
505
+ - 136
506
+ - 137
507
+ - 138
508
+ - 139
509
+ - 140
510
+ - 141
511
+ - 142
512
+ - 143
513
+ - 144
514
+ - 145
515
+ - 157
516
+ - 158
517
+ - 159
518
+ - 160
519
+ - 161
520
+ - 162
521
+ - 166
522
+ - 167
523
+ - 168
524
+ - 169
525
+ - 170
526
+ - 171
527
+ - 172
528
+ - 173
529
+ - 174
530
+ - 175
531
+ - 176
532
+ - 177
533
+ - 178
534
+ - 179
535
+ - 180
536
+ - 181
537
+ - 182
538
+ - 183
539
+ - 184
540
+ - 185
541
+ - 188
542
+ UID STORE-496a62292a2518ec1012e07027b7f91f:
543
+ - - :return
544
+ - !ruby/struct:Net::IMAP::TaggedResponse
545
+ tag: RUBY0006
546
+ name: OK
547
+ data: !ruby/struct:Net::IMAP::ResponseText
548
+ code:
549
+ text: Success
550
+ raw_data: "RUBY0006 OK Success\r\n"
551
+ - FLAGS: *14
552
+ OK: *15
553
+ PERMANENTFLAGS: *16
554
+ UIDVALIDITY: *17
555
+ EXISTS: *18
556
+ RECENT: *19
557
+ UIDNEXT: *20
558
+ HIGHESTMODSEQ: *21
559
+ FETCH:
560
+ - !ruby/struct:Net::IMAP::FetchData
561
+ seqno: 180
562
+ attr:
563
+ FLAGS:
564
+ - :Seen
565
+ UID: 188
566
+ UID STORE-31222f58bd384a4fada4385c5e4576c6:
567
+ - - :return
568
+ - !ruby/struct:Net::IMAP::TaggedResponse
569
+ tag: RUBY0008
570
+ name: OK
571
+ data: !ruby/struct:Net::IMAP::ResponseText
572
+ code:
573
+ text: Success
574
+ raw_data: "RUBY0008 OK Success\r\n"
575
+ - FLAGS: *22
576
+ OK: *23
577
+ PERMANENTFLAGS: *24
578
+ UIDVALIDITY: *25
579
+ EXISTS: *26
580
+ RECENT: *27
581
+ UIDNEXT: *28
582
+ HIGHESTMODSEQ: *29
583
+ FETCH:
584
+ - !ruby/struct:Net::IMAP::FetchData
585
+ seqno: 180
586
+ attr:
587
+ FLAGS: []
588
+ UID: 188
589
+ UID FETCH-47e3d4cc32db0f62bccc2a0220605acc:
590
+ - - :return
591
+ - !ruby/struct:Net::IMAP::TaggedResponse
592
+ tag: RUBY0010
593
+ name: OK
594
+ data: !ruby/struct:Net::IMAP::ResponseText
595
+ code:
596
+ text: Success
597
+ raw_data: "RUBY0010 OK Success\r\n"
598
+ - FLAGS: *30
599
+ OK: *31
600
+ PERMANENTFLAGS: *32
601
+ UIDVALIDITY: *33
602
+ EXISTS: *34
603
+ RECENT: *35
604
+ UIDNEXT: *36
605
+ HIGHESTMODSEQ: *37
606
+ FETCH:
607
+ - !ruby/struct:Net::IMAP::FetchData
608
+ seqno: 180
609
+ attr:
610
+ X-GM-THRID: 1490770850496356226
611
+ X-GM-MSGID: 1490771115289978288
612
+ X-GM-LABELS:
613
+ - "\\Important"
614
+ - "\\Inbox"
615
+ - "\\Sent"
616
+ UID: 188
617
+ FLAGS: []
618
+ ENVELOPE: !ruby/struct:Net::IMAP::Envelope
619
+ date: Mon, 19 Jan 2015 18:28:44 -0500
620
+ subject: 'Re: Hello world!'
621
+ from:
622
+ - !ruby/struct:Net::IMAP::Address
623
+ name: John Doe
624
+ route:
625
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
626
+ host: gmail.com
627
+ sender:
628
+ - !ruby/struct:Net::IMAP::Address
629
+ name: John Doe
630
+ route:
631
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
632
+ host: gmail.com
633
+ reply_to:
634
+ - !ruby/struct:Net::IMAP::Address
635
+ name: John Doe
636
+ route:
637
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
638
+ host: gmail.com
639
+ to:
640
+ - !ruby/struct:Net::IMAP::Address
641
+ name: John Doe
642
+ route:
643
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
644
+ host: gmail.com
645
+ cc:
646
+ bcc:
647
+ in_reply_to: "<54bd922ea931d_84b7f3988504b6@testing-worker-linux-de84ae74-1-8451-linux-10-47583278.mail>"
648
+ message_id: "<CACNRAYLB0c8Hv2yhCLahhiVmvsGXPZVL73tbed4k_mAO-SmKYQ@mail.gmail.com>"
649
+ BODY[]: "MIME-Version: 1.0\r\nReceived: by 10.194.209.232 with HTTP; Mon,
650
+ 19 Jan 2015 15:28:44 -0800 (PST)\r\nIn-Reply-To: <54bd922ea931d_84b7f3988504b6@testing-worker-linux-de84ae74-1-8451-linux-10-47583278.mail>\r\nReferences:
651
+ <54bd922ea931d_84b7f3988504b6@testing-worker-linux-de84ae74-1-8451-linux-10-47583278.mail>\r\nDate:
652
+ Mon, 19 Jan 2015 18:28:44 -0500\r\nDelivered-To: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID:
653
+ <CACNRAYLB0c8Hv2yhCLahhiVmvsGXPZVL73tbed4k_mAO-SmKYQ@mail.gmail.com>\r\nSubject:
654
+ Re: Hello world!\r\nFrom: John Doe <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nTo:
655
+ John Doe <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nContent-Type: multipart/alternative;
656
+ boundary=047d7ba9798cee15fc050d09ae9e\r\n\r\n--047d7ba9798cee15fc050d09ae9e\r\nContent-Type:
657
+ text/plain; charset=UTF-8\r\n\r\nAnother message in the thread!\r\n\r\nOn
658
+ Mon, Jan 19, 2015 at 6:24 PM, <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nwrote:\r\n\r\n>
659
+ Yeah, hello there!\r\n>\r\n\r\n--047d7ba9798cee15fc050d09ae9e\r\nContent-Type:
660
+ text/html; charset=UTF-8\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\n<div
661
+ dir=3D\"ltr\">Another message in the thread!</div><div class=3D\"gmail_ex=\r\ntra\"><br><div
662
+ class=3D\"gmail_quote\">On Mon, Jan 19, 2015 at 6:24 PM, <span=\r\n dir=3D\"ltr\">&lt;<a
663
+ href=3D\"mailto:ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com=\r\n\" target=3D\"_blank\">ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com</a>&gt;</span>=\r\n
664
+ wrote:<br><blockquote class=3D\"gmail_quote\" style=3D\"margin:0 0 0 .8ex;bor=\r\nder-left:1px
665
+ #ccc solid;padding-left:1ex\">Yeah, hello there!<br>\r\n</blockquote></div><br></div>\r\n\r\n--047d7ba9798cee15fc050d09ae9e--"
666
+ LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
667
+ - - :return
668
+ - !ruby/struct:Net::IMAP::TaggedResponse
669
+ tag: RUBY0011
670
+ name: OK
671
+ data: !ruby/struct:Net::IMAP::ResponseText
672
+ code:
673
+ text: 73 good day (Success)
674
+ raw_data: "RUBY0011 OK 73 good day (Success)\r\n"
675
+ - FLAGS: *30
676
+ OK: *31
677
+ PERMANENTFLAGS: *32
678
+ UIDVALIDITY: *33
679
+ EXISTS: *34
680
+ RECENT: *35
681
+ UIDNEXT: *36
682
+ HIGHESTMODSEQ: *37
683
+ BYE:
684
+ - !ruby/struct:Net::IMAP::ResponseText
685
+ code:
686
+ text: LOGOUT Requested