gmail 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +27 -27
- data/.rspec +1 -1
- data/.rubocop.yml +53 -13
- data/.rubocop_todo.yml +299 -239
- data/.travis.yml +19 -19
- data/CHANGELOG.md +152 -145
- data/Gemfile +5 -3
- data/LICENSE +21 -21
- data/README.md +380 -355
- data/Rakefile +44 -46
- data/gmail.gemspec +32 -34
- data/lib/gmail.rb +72 -78
- data/lib/gmail/client.rb +35 -34
- data/lib/gmail/client/base.rb +244 -229
- data/lib/gmail/client/plain.rb +24 -24
- data/lib/gmail/client/xoauth.rb +67 -68
- data/lib/gmail/client/xoauth2.rb +39 -39
- data/lib/gmail/imap_extensions.rb +156 -159
- data/lib/gmail/labels.rb +80 -79
- data/lib/gmail/mailbox.rb +178 -175
- data/lib/gmail/message.rb +212 -207
- data/lib/gmail/version.rb +3 -3
- data/spec/account.yml.example +1 -1
- data/spec/account.yml.obfus +2 -2
- data/spec/gmail/client/base_spec.rb +5 -5
- data/spec/gmail/client/plain_spec.rb +169 -169
- data/spec/gmail/client/xoauth2_spec.rb +186 -186
- data/spec/gmail/client/xoauth_spec.rb +5 -5
- data/spec/gmail/client_spec.rb +5 -5
- data/spec/gmail/imap_extensions_spec.rb +47 -47
- data/spec/gmail/labels_spec.rb +27 -27
- data/spec/gmail/mailbox_spec.rb +84 -84
- data/spec/gmail/message_spec.rb +181 -181
- data/spec/gmail_spec.rb +40 -39
- data/spec/recordings/gmail/_new_connects_with_client_and_give_it_context_when_block_given.yml +61 -28
- data/spec/recordings/gmail/_new_connects_with_gmail_service_and_return_valid_connection_object.yml +43 -28
- data/spec/recordings/gmail/_new_does_not_raise_error_when_couldn_t_connect_with_given_account.yml +21 -13
- data/spec/recordings/gmail/_new_raises_error_when_couldn_t_connect_with_given_account.yml +21 -13
- data/spec/recordings/gmail_client_plain/instance/delivers_inline_composed_email.yml +61 -42
- data/spec/recordings/gmail_client_plain/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +21 -13
- data/spec/recordings/gmail_client_plain/instance/does_not_raise_error_even_though_gmail_account_is_invalid.yml +21 -13
- data/spec/recordings/gmail_client_plain/instance/labels/checks_if_there_is_given_label_defined.yml +409 -196
- data/spec/recordings/gmail_client_plain/instance/labels/creates_given_label.yml +280 -151
- data/spec/recordings/gmail_client_plain/instance/labels/removes_existing_label.yml +271 -146
- data/spec/recordings/gmail_client_plain/instance/labels/returns_list_of_all_available_labels.yml +227 -113
- data/spec/recordings/gmail_client_plain/instance/properly_logs_in_to_valid_gmail_account.yml +61 -42
- data/spec/recordings/gmail_client_plain/instance/properly_logs_out_from_gmail.yml +61 -42
- data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox.yml +164 -109
- data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox_using_block_style.yml +164 -109
- data/spec/recordings/gmail_client_plain/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +21 -13
- data/spec/recordings/gmail_client_xo_auth2/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +24 -13
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/checks_if_there_is_given_label_defined.yml +39 -27
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/creates_given_label.yml +52 -39
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/removes_existing_label.yml +52 -39
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/returns_list_of_all_available_labels.yml +39 -27
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_in_to_valid_gmail_account.yml +26 -15
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_out_from_gmail.yml +26 -15
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox.yml +63 -40
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox_using_block_style.yml +63 -40
- data/spec/recordings/gmail_client_xo_auth2/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +24 -13
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/all/localizes_into_the_appropriate_label.yml +229 -116
- 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 +229 -110
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/drafts/localizes_into_the_appropriate_label.yml +229 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/flagged/localizes_into_the_appropriate_label.yml +229 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/important/localizes_into_the_appropriate_label.yml +229 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/inbox/localizes_into_the_appropriate_label.yml +61 -42
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/junk/localizes_into_the_appropriate_label.yml +229 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/sent/localizes_into_the_appropriate_label.yml +229 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/trash/localizes_into_the_appropriate_label.yml +229 -116
- data/spec/recordings/gmail_mailbox/instance/counts_all_emails.yml +595 -277
- data/spec/recordings/gmail_mailbox/instance/finds_messages.yml +1049 -586
- data/spec/recordings/gmail_mailbox/instance/waits_once.yml +191 -136
- data/spec/recordings/gmail_mailbox/instance/waits_repeatedly.yml +217 -141
- data/spec/recordings/gmail_mailbox/instance/waits_with_29-minute_re-issue.yml +188 -136
- data/spec/recordings/gmail_mailbox/instance/waits_with_an_unblocked_connection.yml +644 -207
- data/spec/recordings/gmail_mailbox/on_initialize/sets_client_and_name.yml +61 -42
- data/spec/recordings/gmail_mailbox/on_initialize/works_in_inbox_by_default.yml +61 -42
- data/spec/recordings/gmail_message/initialize/sets_prefetch_attrs.yml +1068 -578
- data/spec/recordings/gmail_message/initialize/sets_uid_and_mailbox.yml +1068 -580
- data/spec/recordings/gmail_message/instance_methods/deletes_itself.yml +1084 -637
- data/spec/recordings/gmail_message/instance_methods/marks_itself_read.yml +1137 -682
- data/spec/recordings/gmail_message/instance_methods/marks_itself_unread.yml +1153 -686
- data/spec/recordings/gmail_message/instance_methods/moves_from_one_tag_to_other.yml +1447 -862
- data/spec/recordings/gmail_message/instance_methods/removes_a_given_label.yml +1288 -776
- data/spec/recordings/gmail_message/instance_methods/removes_a_given_label_with_old_method.yml +1288 -776
- data/spec/recordings/gmail_message/instance_methods/sets_given_label.yml +1165 -690
- data/spec/recordings/gmail_message/instance_methods/sets_given_label_with_old_method.yml +1157 -691
- data/spec/spec_helper.rb +56 -53
- data/spec/support/imap_mock.rb +181 -181
- data/spec/support/obfuscation.rb +49 -52
- metadata +21 -90
- data/spec/recordings/gmail_client_plain/instance/_connection_automatically_logs_in_to_gmail_account_when_it_s_called.yml +0 -42
@@ -1,682 +1,1137 @@
|
|
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: &
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
16
|
-
-
|
17
|
-
-
|
18
|
-
-
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
22
|
-
-
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
29
|
-
|
30
|
-
- -
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
- !ruby/struct:Net::IMAP::MailboxList
|
56
|
-
attr:
|
57
|
-
- :Hasnochildren
|
58
|
-
delim: "/"
|
59
|
-
name:
|
60
|
-
- !ruby/struct:Net::IMAP::MailboxList
|
61
|
-
attr:
|
62
|
-
- :
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
- :
|
121
|
-
delim: "/"
|
122
|
-
name:
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
code: !ruby/struct:Net::IMAP::ResponseCode
|
248
|
-
name:
|
249
|
-
data:
|
250
|
-
text: "
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
-
|
358
|
-
|
359
|
-
-
|
360
|
-
|
361
|
-
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
-
|
416
|
-
-
|
417
|
-
-
|
418
|
-
-
|
419
|
-
-
|
420
|
-
-
|
421
|
-
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
-
|
511
|
-
-
|
512
|
-
-
|
513
|
-
-
|
514
|
-
-
|
515
|
-
-
|
516
|
-
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
- !ruby/struct:Net::IMAP::
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
1
|
+
---
|
2
|
+
LOGIN-9a890af1c86854f5170d99be6e10b8f1:
|
3
|
+
- - :return
|
4
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
5
|
+
tag: RUBY0001
|
6
|
+
name: OK
|
7
|
+
data: &2 !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: &3
|
13
|
+
- &1
|
14
|
+
- IMAP4REV1
|
15
|
+
- UNSELECT
|
16
|
+
- IDLE
|
17
|
+
- NAMESPACE
|
18
|
+
- QUOTA
|
19
|
+
- ID
|
20
|
+
- XLIST
|
21
|
+
- CHILDREN
|
22
|
+
- X-GM-EXT-1
|
23
|
+
- UIDPLUS
|
24
|
+
- COMPRESS=DEFLATE
|
25
|
+
- ENABLE
|
26
|
+
- MOVE
|
27
|
+
- CONDSTORE
|
28
|
+
- ESEARCH
|
29
|
+
- UTF8=ACCEPT
|
30
|
+
- LIST-EXTENDED
|
31
|
+
- LIST-STATUS
|
32
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
33
|
+
name: CAPABILITY
|
34
|
+
data: *1
|
35
|
+
raw_data: "* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN
|
36
|
+
X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT
|
37
|
+
LIST-EXTENDED LIST-STATUS\r\n"
|
38
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
39
|
+
tag: RUBY0001
|
40
|
+
name: OK
|
41
|
+
data: *2
|
42
|
+
raw_data: "RUBY0001 OK ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated
|
43
|
+
(Success)\r\n"
|
44
|
+
LIST-b30698c3407aff5520448484b159fc07:
|
45
|
+
- - :return
|
46
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
47
|
+
tag: RUBY0002
|
48
|
+
name: OK
|
49
|
+
data: &20 !ruby/struct:Net::IMAP::ResponseText
|
50
|
+
code:
|
51
|
+
text: Success
|
52
|
+
raw_data: "RUBY0002 OK Success\r\n"
|
53
|
+
- CAPABILITY: *3
|
54
|
+
LIST:
|
55
|
+
- &4 !ruby/struct:Net::IMAP::MailboxList
|
56
|
+
attr:
|
57
|
+
- :Hasnochildren
|
58
|
+
delim: "/"
|
59
|
+
name: Awesome
|
60
|
+
- &5 !ruby/struct:Net::IMAP::MailboxList
|
61
|
+
attr:
|
62
|
+
- :Hasnochildren
|
63
|
+
delim: "/"
|
64
|
+
name: Great
|
65
|
+
- &6 !ruby/struct:Net::IMAP::MailboxList
|
66
|
+
attr:
|
67
|
+
- :Hasnochildren
|
68
|
+
delim: "/"
|
69
|
+
name: INBOX
|
70
|
+
- &7 !ruby/struct:Net::IMAP::MailboxList
|
71
|
+
attr:
|
72
|
+
- :Hasnochildren
|
73
|
+
delim: "/"
|
74
|
+
name: Ni&APE-os
|
75
|
+
- &8 !ruby/struct:Net::IMAP::MailboxList
|
76
|
+
attr:
|
77
|
+
- :Haschildren
|
78
|
+
- :Noselect
|
79
|
+
delim: "/"
|
80
|
+
name: "[Gmail]"
|
81
|
+
- &9 !ruby/struct:Net::IMAP::MailboxList
|
82
|
+
attr:
|
83
|
+
- :All
|
84
|
+
- :Hasnochildren
|
85
|
+
delim: "/"
|
86
|
+
name: "[Gmail]/All Mail"
|
87
|
+
- &10 !ruby/struct:Net::IMAP::MailboxList
|
88
|
+
attr:
|
89
|
+
- :Drafts
|
90
|
+
- :Hasnochildren
|
91
|
+
delim: "/"
|
92
|
+
name: "[Gmail]/Drafts"
|
93
|
+
- &11 !ruby/struct:Net::IMAP::MailboxList
|
94
|
+
attr:
|
95
|
+
- :Hasnochildren
|
96
|
+
- :Important
|
97
|
+
delim: "/"
|
98
|
+
name: "[Gmail]/Important"
|
99
|
+
- &12 !ruby/struct:Net::IMAP::MailboxList
|
100
|
+
attr:
|
101
|
+
- :Hasnochildren
|
102
|
+
- :Sent
|
103
|
+
delim: "/"
|
104
|
+
name: "[Gmail]/Sent Mail"
|
105
|
+
- &13 !ruby/struct:Net::IMAP::MailboxList
|
106
|
+
attr:
|
107
|
+
- :Hasnochildren
|
108
|
+
- :Junk
|
109
|
+
delim: "/"
|
110
|
+
name: "[Gmail]/Spam"
|
111
|
+
- &14 !ruby/struct:Net::IMAP::MailboxList
|
112
|
+
attr:
|
113
|
+
- :Flagged
|
114
|
+
- :Hasnochildren
|
115
|
+
delim: "/"
|
116
|
+
name: "[Gmail]/Starred"
|
117
|
+
- &15 !ruby/struct:Net::IMAP::MailboxList
|
118
|
+
attr:
|
119
|
+
- :Hasnochildren
|
120
|
+
- :Trash
|
121
|
+
delim: "/"
|
122
|
+
name: "[Gmail]/Trash"
|
123
|
+
- &16 !ruby/struct:Net::IMAP::MailboxList
|
124
|
+
attr:
|
125
|
+
- :Hasnochildren
|
126
|
+
delim: "/"
|
127
|
+
name: "\\Junk"
|
128
|
+
- &17 !ruby/struct:Net::IMAP::MailboxList
|
129
|
+
attr:
|
130
|
+
- :Hasnochildren
|
131
|
+
delim: "/"
|
132
|
+
name: one's and two's
|
133
|
+
- &18 !ruby/struct:Net::IMAP::MailboxList
|
134
|
+
attr:
|
135
|
+
- :Hasnochildren
|
136
|
+
delim: "/"
|
137
|
+
name: some new label
|
138
|
+
- &19 !ruby/struct:Net::IMAP::MailboxList
|
139
|
+
attr:
|
140
|
+
- :Hasnochildren
|
141
|
+
delim: "/"
|
142
|
+
name: some other label
|
143
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
144
|
+
name: LIST
|
145
|
+
data: *4
|
146
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"Awesome\"\r\n"
|
147
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
148
|
+
name: LIST
|
149
|
+
data: *5
|
150
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"Great\"\r\n"
|
151
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
152
|
+
name: LIST
|
153
|
+
data: *6
|
154
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"INBOX\"\r\n"
|
155
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
156
|
+
name: LIST
|
157
|
+
data: *7
|
158
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"Ni&APE-os\"\r\n"
|
159
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
160
|
+
name: LIST
|
161
|
+
data: *8
|
162
|
+
raw_data: "* LIST (\\HasChildren \\Noselect) \"/\" \"[Gmail]\"\r\n"
|
163
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
164
|
+
name: LIST
|
165
|
+
data: *9
|
166
|
+
raw_data: "* LIST (\\All \\HasNoChildren) \"/\" \"[Gmail]/All Mail\"\r\n"
|
167
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
168
|
+
name: LIST
|
169
|
+
data: *10
|
170
|
+
raw_data: "* LIST (\\Drafts \\HasNoChildren) \"/\" \"[Gmail]/Drafts\"\r\n"
|
171
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
172
|
+
name: LIST
|
173
|
+
data: *11
|
174
|
+
raw_data: "* LIST (\\HasNoChildren \\Important) \"/\" \"[Gmail]/Important\"\r\n"
|
175
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
176
|
+
name: LIST
|
177
|
+
data: *12
|
178
|
+
raw_data: "* LIST (\\HasNoChildren \\Sent) \"/\" \"[Gmail]/Sent Mail\"\r\n"
|
179
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
180
|
+
name: LIST
|
181
|
+
data: *13
|
182
|
+
raw_data: "* LIST (\\HasNoChildren \\Junk) \"/\" \"[Gmail]/Spam\"\r\n"
|
183
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
184
|
+
name: LIST
|
185
|
+
data: *14
|
186
|
+
raw_data: "* LIST (\\Flagged \\HasNoChildren) \"/\" \"[Gmail]/Starred\"\r\n"
|
187
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
188
|
+
name: LIST
|
189
|
+
data: *15
|
190
|
+
raw_data: "* LIST (\\HasNoChildren \\Trash) \"/\" \"[Gmail]/Trash\"\r\n"
|
191
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
192
|
+
name: LIST
|
193
|
+
data: *16
|
194
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"\\\\Junk\"\r\n"
|
195
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
196
|
+
name: LIST
|
197
|
+
data: *17
|
198
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"one's and two's\"\r\n"
|
199
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
200
|
+
name: LIST
|
201
|
+
data: *18
|
202
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"some new label\"\r\n"
|
203
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
204
|
+
name: LIST
|
205
|
+
data: *19
|
206
|
+
raw_data: "* LIST (\\HasNoChildren) \"/\" \"some other label\"\r\n"
|
207
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
208
|
+
tag: RUBY0002
|
209
|
+
name: OK
|
210
|
+
data: *20
|
211
|
+
raw_data: "RUBY0002 OK Success\r\n"
|
212
|
+
SELECT-868fce8856c91e50bebd43b4dbd8e071:
|
213
|
+
- - :return
|
214
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
215
|
+
tag: RUBY0003
|
216
|
+
name: OK
|
217
|
+
data: &27 !ruby/struct:Net::IMAP::ResponseText
|
218
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
219
|
+
name: READ-WRITE
|
220
|
+
data:
|
221
|
+
text: " [Gmail]/All Mail selected. (Success)"
|
222
|
+
raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
223
|
+
- FLAGS: &49
|
224
|
+
- &22
|
225
|
+
- :Answered
|
226
|
+
- :Flagged
|
227
|
+
- :Draft
|
228
|
+
- :Deleted
|
229
|
+
- :Seen
|
230
|
+
- "$NotPhishing"
|
231
|
+
- "$Phishing"
|
232
|
+
OK: &50
|
233
|
+
- &23 !ruby/struct:Net::IMAP::ResponseText
|
234
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
235
|
+
name: PERMANENTFLAGS
|
236
|
+
data: &21
|
237
|
+
- :Answered
|
238
|
+
- :Flagged
|
239
|
+
- :Draft
|
240
|
+
- :Deleted
|
241
|
+
- :Seen
|
242
|
+
- "$NotPhishing"
|
243
|
+
- "$Phishing"
|
244
|
+
- :*
|
245
|
+
text: " Flags permitted."
|
246
|
+
- &24 !ruby/struct:Net::IMAP::ResponseText
|
247
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
248
|
+
name: UIDVALIDITY
|
249
|
+
data: 11
|
250
|
+
text: " UIDs valid."
|
251
|
+
- &25 !ruby/struct:Net::IMAP::ResponseText
|
252
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
253
|
+
name: UIDNEXT
|
254
|
+
data: 398
|
255
|
+
text: " Predicted next UID."
|
256
|
+
- &26 !ruby/struct:Net::IMAP::ResponseText
|
257
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
258
|
+
name: HIGHESTMODSEQ
|
259
|
+
data: '24112'
|
260
|
+
text: ''
|
261
|
+
PERMANENTFLAGS: &51
|
262
|
+
- *21
|
263
|
+
UIDVALIDITY: &52
|
264
|
+
- 11
|
265
|
+
EXISTS: &53
|
266
|
+
- 385
|
267
|
+
RECENT: &54
|
268
|
+
- 0
|
269
|
+
UIDNEXT: &55
|
270
|
+
- 398
|
271
|
+
HIGHESTMODSEQ: &56
|
272
|
+
- '24112'
|
273
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
274
|
+
name: FLAGS
|
275
|
+
data: *22
|
276
|
+
raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
|
277
|
+
$Phishing)\r\n"
|
278
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
279
|
+
name: OK
|
280
|
+
data: *23
|
281
|
+
raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
|
282
|
+
$NotPhishing $Phishing \\*)] Flags permitted.\r\n"
|
283
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
284
|
+
name: OK
|
285
|
+
data: *24
|
286
|
+
raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
|
287
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
288
|
+
name: EXISTS
|
289
|
+
data: 385
|
290
|
+
raw_data: "* 385 EXISTS\r\n"
|
291
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
292
|
+
name: RECENT
|
293
|
+
data: 0
|
294
|
+
raw_data: "* 0 RECENT\r\n"
|
295
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
296
|
+
name: OK
|
297
|
+
data: *25
|
298
|
+
raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
|
299
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
300
|
+
name: OK
|
301
|
+
data: *26
|
302
|
+
raw_data: "* OK [HIGHESTMODSEQ 24112]\r\n"
|
303
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
304
|
+
tag: RUBY0003
|
305
|
+
name: OK
|
306
|
+
data: *27
|
307
|
+
raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
308
|
+
- - :return
|
309
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
310
|
+
tag: RUBY0005
|
311
|
+
name: OK
|
312
|
+
data: &34 !ruby/struct:Net::IMAP::ResponseText
|
313
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
314
|
+
name: READ-WRITE
|
315
|
+
data:
|
316
|
+
text: " [Gmail]/All Mail selected. (Success)"
|
317
|
+
raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
318
|
+
- FLAGS: &59
|
319
|
+
- &29
|
320
|
+
- :Answered
|
321
|
+
- :Flagged
|
322
|
+
- :Draft
|
323
|
+
- :Deleted
|
324
|
+
- :Seen
|
325
|
+
- "$NotPhishing"
|
326
|
+
- "$Phishing"
|
327
|
+
OK: &60
|
328
|
+
- &30 !ruby/struct:Net::IMAP::ResponseText
|
329
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
330
|
+
name: PERMANENTFLAGS
|
331
|
+
data: &28
|
332
|
+
- :Answered
|
333
|
+
- :Flagged
|
334
|
+
- :Draft
|
335
|
+
- :Deleted
|
336
|
+
- :Seen
|
337
|
+
- "$NotPhishing"
|
338
|
+
- "$Phishing"
|
339
|
+
- :*
|
340
|
+
text: " Flags permitted."
|
341
|
+
- &31 !ruby/struct:Net::IMAP::ResponseText
|
342
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
343
|
+
name: UIDVALIDITY
|
344
|
+
data: 11
|
345
|
+
text: " UIDs valid."
|
346
|
+
- &32 !ruby/struct:Net::IMAP::ResponseText
|
347
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
348
|
+
name: UIDNEXT
|
349
|
+
data: 398
|
350
|
+
text: " Predicted next UID."
|
351
|
+
- &33 !ruby/struct:Net::IMAP::ResponseText
|
352
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
353
|
+
name: HIGHESTMODSEQ
|
354
|
+
data: '24112'
|
355
|
+
text: ''
|
356
|
+
PERMANENTFLAGS: &61
|
357
|
+
- *28
|
358
|
+
UIDVALIDITY: &62
|
359
|
+
- 11
|
360
|
+
EXISTS: &63
|
361
|
+
- 385
|
362
|
+
RECENT: &64
|
363
|
+
- 0
|
364
|
+
UIDNEXT: &65
|
365
|
+
- 398
|
366
|
+
HIGHESTMODSEQ: &66
|
367
|
+
- '24112'
|
368
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
369
|
+
name: FLAGS
|
370
|
+
data: *29
|
371
|
+
raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
|
372
|
+
$Phishing)\r\n"
|
373
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
374
|
+
name: OK
|
375
|
+
data: *30
|
376
|
+
raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
|
377
|
+
$NotPhishing $Phishing \\*)] Flags permitted.\r\n"
|
378
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
379
|
+
name: OK
|
380
|
+
data: *31
|
381
|
+
raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
|
382
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
383
|
+
name: EXISTS
|
384
|
+
data: 385
|
385
|
+
raw_data: "* 385 EXISTS\r\n"
|
386
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
387
|
+
name: RECENT
|
388
|
+
data: 0
|
389
|
+
raw_data: "* 0 RECENT\r\n"
|
390
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
391
|
+
name: OK
|
392
|
+
data: *32
|
393
|
+
raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
|
394
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
395
|
+
name: OK
|
396
|
+
data: *33
|
397
|
+
raw_data: "* OK [HIGHESTMODSEQ 24112]\r\n"
|
398
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
399
|
+
tag: RUBY0005
|
400
|
+
name: OK
|
401
|
+
data: *34
|
402
|
+
raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
403
|
+
- - :return
|
404
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
405
|
+
tag: RUBY0007
|
406
|
+
name: OK
|
407
|
+
data: &41 !ruby/struct:Net::IMAP::ResponseText
|
408
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
409
|
+
name: READ-WRITE
|
410
|
+
data:
|
411
|
+
text: " [Gmail]/All Mail selected. (Success)"
|
412
|
+
raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
413
|
+
- FLAGS: &68
|
414
|
+
- &36
|
415
|
+
- :Answered
|
416
|
+
- :Flagged
|
417
|
+
- :Draft
|
418
|
+
- :Deleted
|
419
|
+
- :Seen
|
420
|
+
- "$NotPhishing"
|
421
|
+
- "$Phishing"
|
422
|
+
OK: &69
|
423
|
+
- &37 !ruby/struct:Net::IMAP::ResponseText
|
424
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
425
|
+
name: PERMANENTFLAGS
|
426
|
+
data: &35
|
427
|
+
- :Answered
|
428
|
+
- :Flagged
|
429
|
+
- :Draft
|
430
|
+
- :Deleted
|
431
|
+
- :Seen
|
432
|
+
- "$NotPhishing"
|
433
|
+
- "$Phishing"
|
434
|
+
- :*
|
435
|
+
text: " Flags permitted."
|
436
|
+
- &38 !ruby/struct:Net::IMAP::ResponseText
|
437
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
438
|
+
name: UIDVALIDITY
|
439
|
+
data: 11
|
440
|
+
text: " UIDs valid."
|
441
|
+
- &39 !ruby/struct:Net::IMAP::ResponseText
|
442
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
443
|
+
name: UIDNEXT
|
444
|
+
data: 398
|
445
|
+
text: " Predicted next UID."
|
446
|
+
- &40 !ruby/struct:Net::IMAP::ResponseText
|
447
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
448
|
+
name: HIGHESTMODSEQ
|
449
|
+
data: '24112'
|
450
|
+
text: ''
|
451
|
+
PERMANENTFLAGS: &70
|
452
|
+
- *35
|
453
|
+
UIDVALIDITY: &71
|
454
|
+
- 11
|
455
|
+
EXISTS: &72
|
456
|
+
- 385
|
457
|
+
RECENT: &73
|
458
|
+
- 0
|
459
|
+
UIDNEXT: &74
|
460
|
+
- 398
|
461
|
+
HIGHESTMODSEQ: &75
|
462
|
+
- '24112'
|
463
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
464
|
+
name: FLAGS
|
465
|
+
data: *36
|
466
|
+
raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
|
467
|
+
$Phishing)\r\n"
|
468
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
469
|
+
name: OK
|
470
|
+
data: *37
|
471
|
+
raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
|
472
|
+
$NotPhishing $Phishing \\*)] Flags permitted.\r\n"
|
473
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
474
|
+
name: OK
|
475
|
+
data: *38
|
476
|
+
raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
|
477
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
478
|
+
name: EXISTS
|
479
|
+
data: 385
|
480
|
+
raw_data: "* 385 EXISTS\r\n"
|
481
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
482
|
+
name: RECENT
|
483
|
+
data: 0
|
484
|
+
raw_data: "* 0 RECENT\r\n"
|
485
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
486
|
+
name: OK
|
487
|
+
data: *39
|
488
|
+
raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
|
489
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
490
|
+
name: OK
|
491
|
+
data: *40
|
492
|
+
raw_data: "* OK [HIGHESTMODSEQ 24112]\r\n"
|
493
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
494
|
+
tag: RUBY0007
|
495
|
+
name: OK
|
496
|
+
data: *41
|
497
|
+
raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
498
|
+
- - :return
|
499
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
500
|
+
tag: RUBY0009
|
501
|
+
name: OK
|
502
|
+
data: &48 !ruby/struct:Net::IMAP::ResponseText
|
503
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
504
|
+
name: READ-WRITE
|
505
|
+
data:
|
506
|
+
text: " [Gmail]/All Mail selected. (Success)"
|
507
|
+
raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
508
|
+
- FLAGS: &79
|
509
|
+
- &43
|
510
|
+
- :Answered
|
511
|
+
- :Flagged
|
512
|
+
- :Draft
|
513
|
+
- :Deleted
|
514
|
+
- :Seen
|
515
|
+
- "$NotPhishing"
|
516
|
+
- "$Phishing"
|
517
|
+
OK: &80
|
518
|
+
- &44 !ruby/struct:Net::IMAP::ResponseText
|
519
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
520
|
+
name: PERMANENTFLAGS
|
521
|
+
data: &42
|
522
|
+
- :Answered
|
523
|
+
- :Flagged
|
524
|
+
- :Draft
|
525
|
+
- :Deleted
|
526
|
+
- :Seen
|
527
|
+
- "$NotPhishing"
|
528
|
+
- "$Phishing"
|
529
|
+
- :*
|
530
|
+
text: " Flags permitted."
|
531
|
+
- &45 !ruby/struct:Net::IMAP::ResponseText
|
532
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
533
|
+
name: UIDVALIDITY
|
534
|
+
data: 11
|
535
|
+
text: " UIDs valid."
|
536
|
+
- &46 !ruby/struct:Net::IMAP::ResponseText
|
537
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
538
|
+
name: UIDNEXT
|
539
|
+
data: 398
|
540
|
+
text: " Predicted next UID."
|
541
|
+
- &47 !ruby/struct:Net::IMAP::ResponseText
|
542
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
543
|
+
name: HIGHESTMODSEQ
|
544
|
+
data: '24141'
|
545
|
+
text: ''
|
546
|
+
PERMANENTFLAGS: &81
|
547
|
+
- *42
|
548
|
+
UIDVALIDITY: &82
|
549
|
+
- 11
|
550
|
+
EXISTS: &83
|
551
|
+
- 385
|
552
|
+
RECENT: &84
|
553
|
+
- 0
|
554
|
+
UIDNEXT: &85
|
555
|
+
- 398
|
556
|
+
HIGHESTMODSEQ: &86
|
557
|
+
- '24141'
|
558
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
559
|
+
name: FLAGS
|
560
|
+
data: *43
|
561
|
+
raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
|
562
|
+
$Phishing)\r\n"
|
563
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
564
|
+
name: OK
|
565
|
+
data: *44
|
566
|
+
raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
|
567
|
+
$NotPhishing $Phishing \\*)] Flags permitted.\r\n"
|
568
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
569
|
+
name: OK
|
570
|
+
data: *45
|
571
|
+
raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
|
572
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
573
|
+
name: EXISTS
|
574
|
+
data: 385
|
575
|
+
raw_data: "* 385 EXISTS\r\n"
|
576
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
577
|
+
name: RECENT
|
578
|
+
data: 0
|
579
|
+
raw_data: "* 0 RECENT\r\n"
|
580
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
581
|
+
name: OK
|
582
|
+
data: *46
|
583
|
+
raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
|
584
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
585
|
+
name: OK
|
586
|
+
data: *47
|
587
|
+
raw_data: "* OK [HIGHESTMODSEQ 24141]\r\n"
|
588
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
589
|
+
tag: RUBY0009
|
590
|
+
name: OK
|
591
|
+
data: *48
|
592
|
+
raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
593
|
+
UID SEARCH-0010f3078427015fc193bf14c1871582:
|
594
|
+
- - :return
|
595
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
596
|
+
tag: RUBY0004
|
597
|
+
name: OK
|
598
|
+
data: &58 !ruby/struct:Net::IMAP::ResponseText
|
599
|
+
code:
|
600
|
+
text: SEARCH completed (Success)
|
601
|
+
raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
|
602
|
+
- FLAGS: *49
|
603
|
+
OK: *50
|
604
|
+
PERMANENTFLAGS: *51
|
605
|
+
UIDVALIDITY: *52
|
606
|
+
EXISTS: *53
|
607
|
+
RECENT: *54
|
608
|
+
UIDNEXT: *55
|
609
|
+
HIGHESTMODSEQ: *56
|
610
|
+
SEARCH:
|
611
|
+
- &57
|
612
|
+
- 4
|
613
|
+
- 5
|
614
|
+
- 11
|
615
|
+
- 12
|
616
|
+
- 13
|
617
|
+
- 14
|
618
|
+
- 15
|
619
|
+
- 16
|
620
|
+
- 17
|
621
|
+
- 18
|
622
|
+
- 19
|
623
|
+
- 20
|
624
|
+
- 21
|
625
|
+
- 22
|
626
|
+
- 23
|
627
|
+
- 24
|
628
|
+
- 25
|
629
|
+
- 26
|
630
|
+
- 27
|
631
|
+
- 28
|
632
|
+
- 29
|
633
|
+
- 30
|
634
|
+
- 31
|
635
|
+
- 32
|
636
|
+
- 33
|
637
|
+
- 34
|
638
|
+
- 35
|
639
|
+
- 36
|
640
|
+
- 37
|
641
|
+
- 38
|
642
|
+
- 39
|
643
|
+
- 40
|
644
|
+
- 41
|
645
|
+
- 42
|
646
|
+
- 43
|
647
|
+
- 44
|
648
|
+
- 45
|
649
|
+
- 46
|
650
|
+
- 47
|
651
|
+
- 48
|
652
|
+
- 49
|
653
|
+
- 50
|
654
|
+
- 51
|
655
|
+
- 52
|
656
|
+
- 53
|
657
|
+
- 54
|
658
|
+
- 55
|
659
|
+
- 56
|
660
|
+
- 57
|
661
|
+
- 58
|
662
|
+
- 59
|
663
|
+
- 60
|
664
|
+
- 61
|
665
|
+
- 62
|
666
|
+
- 63
|
667
|
+
- 64
|
668
|
+
- 65
|
669
|
+
- 66
|
670
|
+
- 67
|
671
|
+
- 68
|
672
|
+
- 69
|
673
|
+
- 70
|
674
|
+
- 71
|
675
|
+
- 72
|
676
|
+
- 73
|
677
|
+
- 74
|
678
|
+
- 75
|
679
|
+
- 76
|
680
|
+
- 77
|
681
|
+
- 78
|
682
|
+
- 79
|
683
|
+
- 80
|
684
|
+
- 81
|
685
|
+
- 82
|
686
|
+
- 83
|
687
|
+
- 84
|
688
|
+
- 85
|
689
|
+
- 86
|
690
|
+
- 87
|
691
|
+
- 88
|
692
|
+
- 89
|
693
|
+
- 90
|
694
|
+
- 91
|
695
|
+
- 92
|
696
|
+
- 93
|
697
|
+
- 94
|
698
|
+
- 95
|
699
|
+
- 96
|
700
|
+
- 97
|
701
|
+
- 98
|
702
|
+
- 99
|
703
|
+
- 100
|
704
|
+
- 101
|
705
|
+
- 102
|
706
|
+
- 103
|
707
|
+
- 104
|
708
|
+
- 105
|
709
|
+
- 106
|
710
|
+
- 107
|
711
|
+
- 108
|
712
|
+
- 109
|
713
|
+
- 110
|
714
|
+
- 111
|
715
|
+
- 112
|
716
|
+
- 113
|
717
|
+
- 114
|
718
|
+
- 115
|
719
|
+
- 116
|
720
|
+
- 117
|
721
|
+
- 118
|
722
|
+
- 119
|
723
|
+
- 120
|
724
|
+
- 121
|
725
|
+
- 122
|
726
|
+
- 123
|
727
|
+
- 124
|
728
|
+
- 125
|
729
|
+
- 126
|
730
|
+
- 127
|
731
|
+
- 128
|
732
|
+
- 129
|
733
|
+
- 130
|
734
|
+
- 131
|
735
|
+
- 132
|
736
|
+
- 133
|
737
|
+
- 134
|
738
|
+
- 135
|
739
|
+
- 136
|
740
|
+
- 137
|
741
|
+
- 138
|
742
|
+
- 139
|
743
|
+
- 140
|
744
|
+
- 141
|
745
|
+
- 142
|
746
|
+
- 143
|
747
|
+
- 144
|
748
|
+
- 145
|
749
|
+
- 157
|
750
|
+
- 158
|
751
|
+
- 159
|
752
|
+
- 160
|
753
|
+
- 161
|
754
|
+
- 162
|
755
|
+
- 166
|
756
|
+
- 167
|
757
|
+
- 168
|
758
|
+
- 169
|
759
|
+
- 170
|
760
|
+
- 171
|
761
|
+
- 172
|
762
|
+
- 173
|
763
|
+
- 174
|
764
|
+
- 175
|
765
|
+
- 176
|
766
|
+
- 177
|
767
|
+
- 178
|
768
|
+
- 179
|
769
|
+
- 180
|
770
|
+
- 181
|
771
|
+
- 182
|
772
|
+
- 183
|
773
|
+
- 184
|
774
|
+
- 185
|
775
|
+
- 190
|
776
|
+
- 191
|
777
|
+
- 192
|
778
|
+
- 193
|
779
|
+
- 194
|
780
|
+
- 195
|
781
|
+
- 196
|
782
|
+
- 197
|
783
|
+
- 198
|
784
|
+
- 199
|
785
|
+
- 200
|
786
|
+
- 201
|
787
|
+
- 202
|
788
|
+
- 203
|
789
|
+
- 204
|
790
|
+
- 205
|
791
|
+
- 206
|
792
|
+
- 207
|
793
|
+
- 208
|
794
|
+
- 209
|
795
|
+
- 210
|
796
|
+
- 211
|
797
|
+
- 212
|
798
|
+
- 213
|
799
|
+
- 214
|
800
|
+
- 215
|
801
|
+
- 216
|
802
|
+
- 217
|
803
|
+
- 218
|
804
|
+
- 219
|
805
|
+
- 220
|
806
|
+
- 221
|
807
|
+
- 222
|
808
|
+
- 223
|
809
|
+
- 224
|
810
|
+
- 225
|
811
|
+
- 226
|
812
|
+
- 227
|
813
|
+
- 228
|
814
|
+
- 229
|
815
|
+
- 230
|
816
|
+
- 231
|
817
|
+
- 232
|
818
|
+
- 233
|
819
|
+
- 234
|
820
|
+
- 235
|
821
|
+
- 236
|
822
|
+
- 237
|
823
|
+
- 238
|
824
|
+
- 239
|
825
|
+
- 240
|
826
|
+
- 241
|
827
|
+
- 242
|
828
|
+
- 243
|
829
|
+
- 244
|
830
|
+
- 245
|
831
|
+
- 247
|
832
|
+
- 284
|
833
|
+
- 285
|
834
|
+
- 286
|
835
|
+
- 287
|
836
|
+
- 288
|
837
|
+
- 289
|
838
|
+
- 290
|
839
|
+
- 291
|
840
|
+
- 292
|
841
|
+
- 293
|
842
|
+
- 294
|
843
|
+
- 295
|
844
|
+
- 296
|
845
|
+
- 297
|
846
|
+
- 298
|
847
|
+
- 299
|
848
|
+
- 300
|
849
|
+
- 301
|
850
|
+
- 302
|
851
|
+
- 303
|
852
|
+
- 304
|
853
|
+
- 305
|
854
|
+
- 306
|
855
|
+
- 307
|
856
|
+
- 308
|
857
|
+
- 309
|
858
|
+
- 310
|
859
|
+
- 311
|
860
|
+
- 312
|
861
|
+
- 313
|
862
|
+
- 314
|
863
|
+
- 315
|
864
|
+
- 316
|
865
|
+
- 317
|
866
|
+
- 318
|
867
|
+
- 319
|
868
|
+
- 320
|
869
|
+
- 321
|
870
|
+
- 322
|
871
|
+
- 323
|
872
|
+
- 324
|
873
|
+
- 325
|
874
|
+
- 326
|
875
|
+
- 327
|
876
|
+
- 328
|
877
|
+
- 329
|
878
|
+
- 330
|
879
|
+
- 331
|
880
|
+
- 332
|
881
|
+
- 333
|
882
|
+
- 334
|
883
|
+
- 335
|
884
|
+
- 336
|
885
|
+
- 337
|
886
|
+
- 338
|
887
|
+
- 339
|
888
|
+
- 340
|
889
|
+
- 341
|
890
|
+
- 342
|
891
|
+
- 343
|
892
|
+
- 345
|
893
|
+
- 346
|
894
|
+
- 347
|
895
|
+
- 348
|
896
|
+
- 349
|
897
|
+
- 351
|
898
|
+
- 352
|
899
|
+
- 353
|
900
|
+
- 354
|
901
|
+
- 355
|
902
|
+
- 358
|
903
|
+
- 359
|
904
|
+
- 360
|
905
|
+
- 361
|
906
|
+
- 362
|
907
|
+
- 366
|
908
|
+
- 367
|
909
|
+
- 368
|
910
|
+
- 369
|
911
|
+
- 370
|
912
|
+
- 372
|
913
|
+
- 373
|
914
|
+
- 374
|
915
|
+
- 375
|
916
|
+
- 376
|
917
|
+
- 377
|
918
|
+
- 378
|
919
|
+
- 379
|
920
|
+
- 380
|
921
|
+
- 381
|
922
|
+
- 382
|
923
|
+
- 383
|
924
|
+
- 384
|
925
|
+
- 385
|
926
|
+
- 386
|
927
|
+
- 387
|
928
|
+
- 388
|
929
|
+
- 389
|
930
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
931
|
+
name: SEARCH
|
932
|
+
data: *57
|
933
|
+
raw_data: "* SEARCH 4 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
934
|
+
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
935
|
+
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
936
|
+
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
937
|
+
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
938
|
+
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
939
|
+
141 142 143 144 145 157 158 159 160 161 162 166 167 168 169 170 171 172 173
|
940
|
+
174 175 176 177 178 179 180 181 182 183 184 185 190 191 192 193 194 195 196
|
941
|
+
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
|
942
|
+
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
|
943
|
+
235 236 237 238 239 240 241 242 243 244 245 247 284 285 286 287 288 289 290
|
944
|
+
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
|
945
|
+
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
|
946
|
+
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 345 346 347 348
|
947
|
+
349 351 352 353 354 355 358 359 360 361 362 366 367 368 369 370 372 373 374
|
948
|
+
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389\r\n"
|
949
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
950
|
+
tag: RUBY0004
|
951
|
+
name: OK
|
952
|
+
data: *58
|
953
|
+
raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
|
954
|
+
UID STORE-59a118360a859fa53c9cee8caaca65ed:
|
955
|
+
- - :return
|
956
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
957
|
+
tag: RUBY0006
|
958
|
+
name: OK
|
959
|
+
data: &67 !ruby/struct:Net::IMAP::ResponseText
|
960
|
+
code:
|
961
|
+
text: Success
|
962
|
+
raw_data: "RUBY0006 OK Success\r\n"
|
963
|
+
- FLAGS: *59
|
964
|
+
OK: *60
|
965
|
+
PERMANENTFLAGS: *61
|
966
|
+
UIDVALIDITY: *62
|
967
|
+
EXISTS: *63
|
968
|
+
RECENT: *64
|
969
|
+
UIDNEXT: *65
|
970
|
+
HIGHESTMODSEQ: *66
|
971
|
+
- - !ruby/struct:Net::IMAP::TaggedResponse
|
972
|
+
tag: RUBY0006
|
973
|
+
name: OK
|
974
|
+
data: *67
|
975
|
+
raw_data: "RUBY0006 OK Success\r\n"
|
976
|
+
UID STORE-86d019ae5f2f8ceeb1c27466990ecaa9:
|
977
|
+
- - :return
|
978
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
979
|
+
tag: RUBY0008
|
980
|
+
name: OK
|
981
|
+
data: &78 !ruby/struct:Net::IMAP::ResponseText
|
982
|
+
code:
|
983
|
+
text: Success
|
984
|
+
raw_data: "RUBY0008 OK Success\r\n"
|
985
|
+
- FLAGS: *68
|
986
|
+
OK: *69
|
987
|
+
PERMANENTFLAGS: *70
|
988
|
+
UIDVALIDITY: *71
|
989
|
+
EXISTS: *72
|
990
|
+
RECENT: *73
|
991
|
+
UIDNEXT: *74
|
992
|
+
HIGHESTMODSEQ: *75
|
993
|
+
FETCH:
|
994
|
+
- &76 !ruby/struct:Net::IMAP::FetchData
|
995
|
+
seqno: 378
|
996
|
+
attr:
|
997
|
+
FLAGS:
|
998
|
+
- :Seen
|
999
|
+
UID: 389
|
1000
|
+
- &77 !ruby/struct:Net::IMAP::FetchData
|
1001
|
+
seqno: 378
|
1002
|
+
attr:
|
1003
|
+
UID: 389
|
1004
|
+
FLAGS:
|
1005
|
+
- :Seen
|
1006
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
1007
|
+
name: FETCH
|
1008
|
+
data: *76
|
1009
|
+
raw_data: "* 378 FETCH (FLAGS (\\Seen) UID 389)\r\n"
|
1010
|
+
- !ruby/struct:Net::IMAP::UntaggedResponse
|
1011
|
+
name: FETCH
|
1012
|
+
data: *77
|
1013
|
+
raw_data: "* 378 FETCH (UID 389 FLAGS (\\Seen))\r\n"
|
1014
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
1015
|
+
tag: RUBY0008
|
1016
|
+
name: OK
|
1017
|
+
data: *78
|
1018
|
+
raw_data: "RUBY0008 OK Success\r\n"
|
1019
|
+
UID FETCH-ca88bb8099c141a1a108f56df2e80d19:
|
1020
|
+
- - :return
|
1021
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
1022
|
+
tag: RUBY0010
|
1023
|
+
name: OK
|
1024
|
+
data: &88 !ruby/struct:Net::IMAP::ResponseText
|
1025
|
+
code:
|
1026
|
+
text: Success
|
1027
|
+
raw_data: "RUBY0010 OK Success\r\n"
|
1028
|
+
- FLAGS: *79
|
1029
|
+
OK: *80
|
1030
|
+
PERMANENTFLAGS: *81
|
1031
|
+
UIDVALIDITY: *82
|
1032
|
+
EXISTS: *83
|
1033
|
+
RECENT: *84
|
1034
|
+
UIDNEXT: *85
|
1035
|
+
HIGHESTMODSEQ: *86
|
1036
|
+
FETCH:
|
1037
|
+
- &87 !ruby/struct:Net::IMAP::FetchData
|
1038
|
+
seqno: 378
|
1039
|
+
attr:
|
1040
|
+
X-GM-THRID: 1505981211390055669
|
1041
|
+
X-GM-MSGID: 1505981211390055669
|
1042
|
+
X-GM-LABELS:
|
1043
|
+
- :Important
|
1044
|
+
- :Inbox
|
1045
|
+
- :Sent
|
1046
|
+
- Great
|
1047
|
+
UID: 389
|
1048
|
+
FLAGS:
|
1049
|
+
- :Seen
|
1050
|
+
ENVELOPE: !ruby/struct:Net::IMAP::Envelope
|
1051
|
+
date: Mon, 06 Jul 2015 20:46:41 +0000
|
1052
|
+
subject: Hello world!
|
1053
|
+
from:
|
1054
|
+
- !ruby/struct:Net::IMAP::Address
|
1055
|
+
name:
|
1056
|
+
route:
|
1057
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
1058
|
+
host: gmail.com
|
1059
|
+
sender:
|
1060
|
+
- !ruby/struct:Net::IMAP::Address
|
1061
|
+
name:
|
1062
|
+
route:
|
1063
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
1064
|
+
host: gmail.com
|
1065
|
+
reply_to:
|
1066
|
+
- !ruby/struct:Net::IMAP::Address
|
1067
|
+
name:
|
1068
|
+
route:
|
1069
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
1070
|
+
host: gmail.com
|
1071
|
+
to:
|
1072
|
+
- !ruby/struct:Net::IMAP::Address
|
1073
|
+
name:
|
1074
|
+
route:
|
1075
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
1076
|
+
host: gmail.com
|
1077
|
+
cc:
|
1078
|
+
bcc:
|
1079
|
+
in_reply_to:
|
1080
|
+
message_id: "<559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>"
|
1081
|
+
BODY[]: "Return-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
|
1082
|
+
from gmail.com (ec2-52-0-240-122.compute-1.amazonaws.com. [52.0.240.122])\r\n
|
1083
|
+
\ by mx.google.com with ESMTPSA id a72sm9998623qgf.17.2015.07.06.13.46.41\r\n
|
1084
|
+
\ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.1
|
1085
|
+
cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r\n Mon, 06 Jul 2015 13:46:42
|
1086
|
+
-0700 (PDT)\r\nDate: Mon, 06 Jul 2015 20:46:41 +0000\r\nFrom: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo:
|
1087
|
+
ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID: <559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\r\nSubject:
|
1088
|
+
Hello world!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
|
1089
|
+
7bit\r\n\r\nYeah, hello there!\r\n"
|
1090
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
1091
|
+
name: FETCH
|
1092
|
+
data: *87
|
1093
|
+
raw_data: "* 378 FETCH (X-GM-THRID 1505981211390055669 X-GM-MSGID 1505981211390055669
|
1094
|
+
X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\" Great) UID 389 FLAGS
|
1095
|
+
(\\Seen) ENVELOPE (\"Mon, 06 Jul 2015 20:46:41 +0000\" \"Hello world!\" ((NIL
|
1096
|
+
NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\")) ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\"
|
1097
|
+
\"gmail.com\")) ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\"))
|
1098
|
+
((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\")) NIL NIL NIL \"<559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\")
|
1099
|
+
BODY[] {764}\r\nReturn-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
|
1100
|
+
from gmail.com (ec2-52-0-240-122.compute-1.amazonaws.com. [52.0.240.122])\r\n
|
1101
|
+
\ by mx.google.com with ESMTPSA id a72sm9998623qgf.17.2015.07.06.13.46.41\r\n
|
1102
|
+
\ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.1
|
1103
|
+
cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r\n Mon, 06 Jul 2015 13:46:42
|
1104
|
+
-0700 (PDT)\r\nDate: Mon, 06 Jul 2015 20:46:41 +0000\r\nFrom: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo:
|
1105
|
+
ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID: <559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\r\nSubject:
|
1106
|
+
Hello world!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
|
1107
|
+
7bit\r\n\r\nYeah, hello there!\r\n)\r\n"
|
1108
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
1109
|
+
tag: RUBY0010
|
1110
|
+
name: OK
|
1111
|
+
data: *88
|
1112
|
+
raw_data: "RUBY0010 OK Success\r\n"
|
1113
|
+
LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
|
1114
|
+
- - :return
|
1115
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
1116
|
+
tag: RUBY0011
|
1117
|
+
name: OK
|
1118
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
1119
|
+
code:
|
1120
|
+
text: 73 good day (Success)
|
1121
|
+
raw_data: "RUBY0011 OK 73 good day (Success)\r\n"
|
1122
|
+
- FLAGS: *79
|
1123
|
+
OK: *80
|
1124
|
+
PERMANENTFLAGS: *81
|
1125
|
+
UIDVALIDITY: *82
|
1126
|
+
EXISTS: *83
|
1127
|
+
RECENT: *84
|
1128
|
+
UIDNEXT: *85
|
1129
|
+
HIGHESTMODSEQ: *86
|
1130
|
+
BYE:
|
1131
|
+
- &89 !ruby/struct:Net::IMAP::ResponseText
|
1132
|
+
code:
|
1133
|
+
text: LOGOUT Requested
|
1134
|
+
- - !ruby/struct:Net::IMAP::UntaggedResponse
|
1135
|
+
name: BYE
|
1136
|
+
data: *89
|
1137
|
+
raw_data: "* BYE LOGOUT Requested\r\n"
|