gmail 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +27 -27
- data/.rspec +1 -1
- data/.rubocop.yml +13 -13
- data/.rubocop_todo.yml +239 -239
- data/.travis.yml +19 -19
- data/CHANGELOG.md +145 -139
- data/Gemfile +3 -3
- data/LICENSE +21 -21
- data/README.md +355 -354
- data/Rakefile +46 -46
- data/gmail.gemspec +34 -34
- data/lib/gmail.rb +78 -78
- data/lib/gmail/client.rb +34 -34
- data/lib/gmail/client/base.rb +229 -229
- data/lib/gmail/client/plain.rb +24 -24
- data/lib/gmail/client/xoauth.rb +68 -68
- data/lib/gmail/client/xoauth2.rb +39 -39
- data/lib/gmail/imap_extensions.rb +159 -150
- data/lib/gmail/labels.rb +79 -79
- data/lib/gmail/mailbox.rb +175 -135
- data/lib/gmail/message.rb +207 -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 -168
- 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 -12
- data/spec/gmail/labels_spec.rb +27 -18
- data/spec/gmail/mailbox_spec.rb +84 -47
- data/spec/gmail/message_spec.rb +181 -181
- data/spec/gmail_spec.rb +39 -39
- data/spec/recordings/gmail/_new_connects_with_client_and_give_it_context_when_block_given.yml +28 -28
- data/spec/recordings/gmail/_new_connects_with_gmail_service_and_return_valid_connection_object.yml +28 -28
- data/spec/recordings/gmail/_new_does_not_raise_error_when_couldn_t_connect_with_given_account.yml +13 -13
- data/spec/recordings/gmail/_new_raises_error_when_couldn_t_connect_with_given_account.yml +13 -13
- data/spec/recordings/gmail_client_plain/instance/_connection_automatically_logs_in_to_gmail_account_when_it_s_called.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/delivers_inline_composed_email.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
- data/spec/recordings/gmail_client_plain/instance/does_not_raise_error_even_though_gmail_account_is_invalid.yml +13 -13
- data/spec/recordings/gmail_client_plain/instance/labels/checks_if_there_is_given_label_defined.yml +196 -196
- data/spec/recordings/gmail_client_plain/instance/labels/creates_given_label.yml +151 -151
- data/spec/recordings/gmail_client_plain/instance/labels/removes_existing_label.yml +146 -146
- data/spec/recordings/gmail_client_plain/instance/labels/returns_list_of_all_available_labels.yml +113 -113
- data/spec/recordings/gmail_client_plain/instance/properly_logs_in_to_valid_gmail_account.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/properly_logs_out_from_gmail.yml +42 -42
- data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox.yml +109 -109
- data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox_using_block_style.yml +109 -109
- data/spec/recordings/gmail_client_plain/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
- data/spec/recordings/gmail_client_xo_auth2/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/checks_if_there_is_given_label_defined.yml +27 -27
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/creates_given_label.yml +39 -39
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/removes_existing_label.yml +39 -39
- data/spec/recordings/gmail_client_xo_auth2/instance/labels/returns_list_of_all_available_labels.yml +27 -27
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_in_to_valid_gmail_account.yml +15 -15
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_out_from_gmail.yml +15 -15
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox.yml +40 -40
- data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox_using_block_style.yml +40 -40
- data/spec/recordings/gmail_client_xo_auth2/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/all/localizes_into_the_appropriate_label.yml +116 -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 +110 -0
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/drafts/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/flagged/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/important/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/inbox/localizes_into_the_appropriate_label.yml +42 -42
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/junk/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/sent/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/trash/localizes_into_the_appropriate_label.yml +116 -116
- data/spec/recordings/gmail_mailbox/instance/counts_all_emails.yml +277 -277
- data/spec/recordings/gmail_mailbox/instance/finds_messages.yml +586 -586
- data/spec/recordings/gmail_mailbox/instance/waits_once.yml +136 -0
- data/spec/recordings/gmail_mailbox/instance/waits_repeatedly.yml +141 -0
- data/spec/recordings/gmail_mailbox/instance/waits_with_29-minute_re-issue.yml +136 -0
- data/spec/recordings/gmail_mailbox/instance/waits_with_an_unblocked_connection.yml +207 -0
- data/spec/recordings/gmail_mailbox/on_initialize/sets_client_and_name.yml +42 -42
- data/spec/recordings/gmail_mailbox/on_initialize/works_in_inbox_by_default.yml +42 -42
- data/spec/recordings/gmail_message/initialize/sets_prefetch_attrs.yml +578 -578
- data/spec/recordings/gmail_message/initialize/sets_uid_and_mailbox.yml +580 -580
- data/spec/recordings/gmail_message/instance_methods/deletes_itself.yml +637 -637
- data/spec/recordings/gmail_message/instance_methods/marks_itself_read.yml +682 -682
- data/spec/recordings/gmail_message/instance_methods/marks_itself_unread.yml +686 -686
- data/spec/recordings/gmail_message/instance_methods/moves_from_one_tag_to_other.yml +862 -862
- data/spec/recordings/gmail_message/instance_methods/removes_a_given_label.yml +776 -776
- data/spec/recordings/gmail_message/instance_methods/removes_a_given_label_with_old_method.yml +776 -776
- data/spec/recordings/gmail_message/instance_methods/sets_given_label.yml +690 -690
- data/spec/recordings/gmail_message/instance_methods/sets_given_label_with_old_method.yml +691 -691
- data/spec/spec_helper.rb +53 -53
- data/spec/support/imap_mock.rb +181 -129
- data/spec/support/obfuscation.rb +52 -52
- metadata +78 -5
@@ -1,776 +1,776 @@
|
|
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: &7
|
135
|
-
- - :Answered
|
136
|
-
- :Flagged
|
137
|
-
- :Draft
|
138
|
-
- :Deleted
|
139
|
-
- :Seen
|
140
|
-
- "$Phishing"
|
141
|
-
- "$NotPhishing"
|
142
|
-
OK: &8
|
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: '14713'
|
170
|
-
text: ''
|
171
|
-
PERMANENTFLAGS: &9
|
172
|
-
- *2
|
173
|
-
UIDVALIDITY: &10
|
174
|
-
- 11
|
175
|
-
EXISTS: &11
|
176
|
-
- 181
|
177
|
-
RECENT: &12
|
178
|
-
- 0
|
179
|
-
UIDNEXT: &13
|
180
|
-
- 190
|
181
|
-
HIGHESTMODSEQ: &14
|
182
|
-
- '14713'
|
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: &15
|
194
|
-
- - :Answered
|
195
|
-
- :Flagged
|
196
|
-
- :Draft
|
197
|
-
- :Deleted
|
198
|
-
- :Seen
|
199
|
-
- "$Phishing"
|
200
|
-
- "$NotPhishing"
|
201
|
-
OK: &16
|
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: '14713'
|
229
|
-
text: ''
|
230
|
-
PERMANENTFLAGS: &17
|
231
|
-
- *3
|
232
|
-
UIDVALIDITY: &18
|
233
|
-
- 11
|
234
|
-
EXISTS: &19
|
235
|
-
- 181
|
236
|
-
RECENT: &20
|
237
|
-
- 0
|
238
|
-
UIDNEXT: &21
|
239
|
-
- 190
|
240
|
-
HIGHESTMODSEQ: &22
|
241
|
-
- '14713'
|
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: &23
|
253
|
-
- - :Answered
|
254
|
-
- :Flagged
|
255
|
-
- :Draft
|
256
|
-
- :Deleted
|
257
|
-
- :Seen
|
258
|
-
- "$Phishing"
|
259
|
-
- "$NotPhishing"
|
260
|
-
OK: &24
|
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: '14713'
|
288
|
-
text: ''
|
289
|
-
PERMANENTFLAGS: &25
|
290
|
-
- *4
|
291
|
-
UIDVALIDITY: &26
|
292
|
-
- 11
|
293
|
-
EXISTS: &27
|
294
|
-
- 181
|
295
|
-
RECENT: &28
|
296
|
-
- 0
|
297
|
-
UIDNEXT: &29
|
298
|
-
- 190
|
299
|
-
HIGHESTMODSEQ: &30
|
300
|
-
- '14713'
|
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: &31
|
312
|
-
- - :Answered
|
313
|
-
- :Flagged
|
314
|
-
- :Draft
|
315
|
-
- :Deleted
|
316
|
-
- :Seen
|
317
|
-
- "$Phishing"
|
318
|
-
- "$NotPhishing"
|
319
|
-
OK: &32
|
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: '14713'
|
347
|
-
text: ''
|
348
|
-
PERMANENTFLAGS: &33
|
349
|
-
- *5
|
350
|
-
UIDVALIDITY: &34
|
351
|
-
- 11
|
352
|
-
EXISTS: &35
|
353
|
-
- 181
|
354
|
-
RECENT: &36
|
355
|
-
- 0
|
356
|
-
UIDNEXT: &37
|
357
|
-
- 190
|
358
|
-
HIGHESTMODSEQ: &38
|
359
|
-
- '14713'
|
360
|
-
- - :return
|
361
|
-
- !ruby/struct:Net::IMAP::TaggedResponse
|
362
|
-
tag: RUBY0011
|
363
|
-
name: OK
|
364
|
-
data: !ruby/struct:Net::IMAP::ResponseText
|
365
|
-
code: !ruby/struct:Net::IMAP::ResponseCode
|
366
|
-
name: READ-WRITE
|
367
|
-
data:
|
368
|
-
text: " [Gmail]/All Mail selected. (Success)"
|
369
|
-
raw_data: "RUBY0011 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
370
|
-
- FLAGS: &39
|
371
|
-
- - :Answered
|
372
|
-
- :Flagged
|
373
|
-
- :Draft
|
374
|
-
- :Deleted
|
375
|
-
- :Seen
|
376
|
-
- "$Phishing"
|
377
|
-
- "$NotPhishing"
|
378
|
-
OK: &40
|
379
|
-
- !ruby/struct:Net::IMAP::ResponseText
|
380
|
-
code: !ruby/struct:Net::IMAP::ResponseCode
|
381
|
-
name: PERMANENTFLAGS
|
382
|
-
data: &6
|
383
|
-
- :Answered
|
384
|
-
- :Flagged
|
385
|
-
- :Draft
|
386
|
-
- :Deleted
|
387
|
-
- :Seen
|
388
|
-
- "$Phishing"
|
389
|
-
- "$NotPhishing"
|
390
|
-
- :*
|
391
|
-
text: " Flags permitted."
|
392
|
-
- !ruby/struct:Net::IMAP::ResponseText
|
393
|
-
code: !ruby/struct:Net::IMAP::ResponseCode
|
394
|
-
name: UIDVALIDITY
|
395
|
-
data: 11
|
396
|
-
text: " UIDs valid."
|
397
|
-
- !ruby/struct:Net::IMAP::ResponseText
|
398
|
-
code: !ruby/struct:Net::IMAP::ResponseCode
|
399
|
-
name: UIDNEXT
|
400
|
-
data: 190
|
401
|
-
text: " Predicted next UID."
|
402
|
-
- !ruby/struct:Net::IMAP::ResponseText
|
403
|
-
code: !ruby/struct:Net::IMAP::ResponseCode
|
404
|
-
name: HIGHESTMODSEQ
|
405
|
-
data: '14720'
|
406
|
-
text: ''
|
407
|
-
PERMANENTFLAGS: &41
|
408
|
-
- *6
|
409
|
-
UIDVALIDITY: &42
|
410
|
-
- 11
|
411
|
-
EXISTS: &43
|
412
|
-
- 181
|
413
|
-
RECENT: &44
|
414
|
-
- 0
|
415
|
-
UIDNEXT: &45
|
416
|
-
- 190
|
417
|
-
HIGHESTMODSEQ: &46
|
418
|
-
- '14720'
|
419
|
-
UID SEARCH-0010f3078427015fc193bf14c1871582:
|
420
|
-
- - :return
|
421
|
-
- !ruby/struct:Net::IMAP::TaggedResponse
|
422
|
-
tag: RUBY0004
|
423
|
-
name: OK
|
424
|
-
data: !ruby/struct:Net::IMAP::ResponseText
|
425
|
-
code:
|
426
|
-
text: SEARCH completed (Success)
|
427
|
-
raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
|
428
|
-
- FLAGS: *7
|
429
|
-
OK: *8
|
430
|
-
PERMANENTFLAGS: *9
|
431
|
-
UIDVALIDITY: *10
|
432
|
-
EXISTS: *11
|
433
|
-
RECENT: *12
|
434
|
-
UIDNEXT: *13
|
435
|
-
HIGHESTMODSEQ: *14
|
436
|
-
SEARCH:
|
437
|
-
- - 4
|
438
|
-
- 5
|
439
|
-
- 11
|
440
|
-
- 12
|
441
|
-
- 13
|
442
|
-
- 14
|
443
|
-
- 15
|
444
|
-
- 16
|
445
|
-
- 17
|
446
|
-
- 18
|
447
|
-
- 19
|
448
|
-
- 20
|
449
|
-
- 21
|
450
|
-
- 22
|
451
|
-
- 23
|
452
|
-
- 24
|
453
|
-
- 25
|
454
|
-
- 26
|
455
|
-
- 27
|
456
|
-
- 28
|
457
|
-
- 29
|
458
|
-
- 30
|
459
|
-
- 31
|
460
|
-
- 32
|
461
|
-
- 33
|
462
|
-
- 34
|
463
|
-
- 35
|
464
|
-
- 36
|
465
|
-
- 37
|
466
|
-
- 38
|
467
|
-
- 39
|
468
|
-
- 40
|
469
|
-
- 41
|
470
|
-
- 42
|
471
|
-
- 43
|
472
|
-
- 44
|
473
|
-
- 45
|
474
|
-
- 46
|
475
|
-
- 47
|
476
|
-
- 48
|
477
|
-
- 49
|
478
|
-
- 50
|
479
|
-
- 51
|
480
|
-
- 52
|
481
|
-
- 53
|
482
|
-
- 54
|
483
|
-
- 55
|
484
|
-
- 56
|
485
|
-
- 57
|
486
|
-
- 58
|
487
|
-
- 59
|
488
|
-
- 60
|
489
|
-
- 61
|
490
|
-
- 62
|
491
|
-
- 63
|
492
|
-
- 64
|
493
|
-
- 65
|
494
|
-
- 66
|
495
|
-
- 67
|
496
|
-
- 68
|
497
|
-
- 69
|
498
|
-
- 70
|
499
|
-
- 71
|
500
|
-
- 72
|
501
|
-
- 73
|
502
|
-
- 74
|
503
|
-
- 75
|
504
|
-
- 76
|
505
|
-
- 77
|
506
|
-
- 78
|
507
|
-
- 79
|
508
|
-
- 80
|
509
|
-
- 81
|
510
|
-
- 82
|
511
|
-
- 83
|
512
|
-
- 84
|
513
|
-
- 85
|
514
|
-
- 86
|
515
|
-
- 87
|
516
|
-
- 88
|
517
|
-
- 89
|
518
|
-
- 90
|
519
|
-
- 91
|
520
|
-
- 92
|
521
|
-
- 93
|
522
|
-
- 94
|
523
|
-
- 95
|
524
|
-
- 96
|
525
|
-
- 97
|
526
|
-
- 98
|
527
|
-
- 99
|
528
|
-
- 100
|
529
|
-
- 101
|
530
|
-
- 102
|
531
|
-
- 103
|
532
|
-
- 104
|
533
|
-
- 105
|
534
|
-
- 106
|
535
|
-
- 107
|
536
|
-
- 108
|
537
|
-
- 109
|
538
|
-
- 110
|
539
|
-
- 111
|
540
|
-
- 112
|
541
|
-
- 113
|
542
|
-
- 114
|
543
|
-
- 115
|
544
|
-
- 116
|
545
|
-
- 117
|
546
|
-
- 118
|
547
|
-
- 119
|
548
|
-
- 120
|
549
|
-
- 121
|
550
|
-
- 122
|
551
|
-
- 123
|
552
|
-
- 124
|
553
|
-
- 125
|
554
|
-
- 126
|
555
|
-
- 127
|
556
|
-
- 128
|
557
|
-
- 129
|
558
|
-
- 130
|
559
|
-
- 131
|
560
|
-
- 132
|
561
|
-
- 133
|
562
|
-
- 134
|
563
|
-
- 135
|
564
|
-
- 136
|
565
|
-
- 137
|
566
|
-
- 138
|
567
|
-
- 139
|
568
|
-
- 140
|
569
|
-
- 141
|
570
|
-
- 142
|
571
|
-
- 143
|
572
|
-
- 144
|
573
|
-
- 145
|
574
|
-
- 157
|
575
|
-
- 158
|
576
|
-
- 159
|
577
|
-
- 160
|
578
|
-
- 161
|
579
|
-
- 162
|
580
|
-
- 166
|
581
|
-
- 167
|
582
|
-
- 168
|
583
|
-
- 169
|
584
|
-
- 170
|
585
|
-
- 171
|
586
|
-
- 172
|
587
|
-
- 173
|
588
|
-
- 174
|
589
|
-
- 175
|
590
|
-
- 176
|
591
|
-
- 177
|
592
|
-
- 178
|
593
|
-
- 179
|
594
|
-
- 180
|
595
|
-
- 181
|
596
|
-
- 182
|
597
|
-
- 183
|
598
|
-
- 184
|
599
|
-
- 185
|
600
|
-
- 188
|
601
|
-
- 189
|
602
|
-
UID STORE-ac884ffbfb66da354d64b0f2d42a166f:
|
603
|
-
- - :return
|
604
|
-
- !ruby/struct:Net::IMAP::TaggedResponse
|
605
|
-
tag: RUBY0006
|
606
|
-
name: OK
|
607
|
-
data: !ruby/struct:Net::IMAP::ResponseText
|
608
|
-
code:
|
609
|
-
text: Success
|
610
|
-
raw_data: "RUBY0006 OK Success\r\n"
|
611
|
-
- FLAGS: *15
|
612
|
-
OK: *16
|
613
|
-
PERMANENTFLAGS: *17
|
614
|
-
UIDVALIDITY: *18
|
615
|
-
EXISTS: *19
|
616
|
-
RECENT: *20
|
617
|
-
UIDNEXT: *21
|
618
|
-
HIGHESTMODSEQ: *22
|
619
|
-
FETCH:
|
620
|
-
- !ruby/struct:Net::IMAP::FetchData
|
621
|
-
seqno: 181
|
622
|
-
attr:
|
623
|
-
X-GM-LABELS:
|
624
|
-
- "\\Important"
|
625
|
-
- "\\Inbox"
|
626
|
-
- "\\Sent"
|
627
|
-
- Awesome
|
628
|
-
- Great
|
629
|
-
UID: 189
|
630
|
-
UID STORE-c2d6f8de722e6c9f06f0a6a1a4163f69:
|
631
|
-
- - :return
|
632
|
-
- !ruby/struct:Net::IMAP::TaggedResponse
|
633
|
-
tag: RUBY0008
|
634
|
-
name: OK
|
635
|
-
data: !ruby/struct:Net::IMAP::ResponseText
|
636
|
-
code:
|
637
|
-
text: Success
|
638
|
-
raw_data: "RUBY0008 OK Success\r\n"
|
639
|
-
- FLAGS: *23
|
640
|
-
OK: *24
|
641
|
-
PERMANENTFLAGS: *25
|
642
|
-
UIDVALIDITY: *26
|
643
|
-
EXISTS: *27
|
644
|
-
RECENT: *28
|
645
|
-
UIDNEXT: *29
|
646
|
-
HIGHESTMODSEQ: *30
|
647
|
-
FETCH:
|
648
|
-
- !ruby/struct:Net::IMAP::FetchData
|
649
|
-
seqno: 181
|
650
|
-
attr:
|
651
|
-
X-GM-LABELS:
|
652
|
-
- "\\Important"
|
653
|
-
- "\\Inbox"
|
654
|
-
- "\\Sent"
|
655
|
-
- Awesome
|
656
|
-
- Great
|
657
|
-
UID: 189
|
658
|
-
UID STORE-2e46c35991051e7831af457bc2435903:
|
659
|
-
- - :return
|
660
|
-
- !ruby/struct:Net::IMAP::TaggedResponse
|
661
|
-
tag: RUBY0010
|
662
|
-
name: OK
|
663
|
-
data: !ruby/struct:Net::IMAP::ResponseText
|
664
|
-
code:
|
665
|
-
text: Success
|
666
|
-
raw_data: "RUBY0010 OK Success\r\n"
|
667
|
-
- FLAGS: *31
|
668
|
-
OK: *32
|
669
|
-
PERMANENTFLAGS: *33
|
670
|
-
UIDVALIDITY: *34
|
671
|
-
EXISTS: *35
|
672
|
-
RECENT: *36
|
673
|
-
UIDNEXT: *37
|
674
|
-
HIGHESTMODSEQ: *38
|
675
|
-
FETCH:
|
676
|
-
- !ruby/struct:Net::IMAP::FetchData
|
677
|
-
seqno: 181
|
678
|
-
attr:
|
679
|
-
X-GM-LABELS:
|
680
|
-
- "\\Important"
|
681
|
-
- "\\Inbox"
|
682
|
-
- "\\Sent"
|
683
|
-
- Great
|
684
|
-
UID: 189
|
685
|
-
UID FETCH-c91d19726aebc8362537324efef9b96b:
|
686
|
-
- - :return
|
687
|
-
- !ruby/struct:Net::IMAP::TaggedResponse
|
688
|
-
tag: RUBY0012
|
689
|
-
name: OK
|
690
|
-
data: !ruby/struct:Net::IMAP::ResponseText
|
691
|
-
code:
|
692
|
-
text: Success
|
693
|
-
raw_data: "RUBY0012 OK Success\r\n"
|
694
|
-
- FLAGS: *39
|
695
|
-
OK: *40
|
696
|
-
PERMANENTFLAGS: *41
|
697
|
-
UIDVALIDITY: *42
|
698
|
-
EXISTS: *43
|
699
|
-
RECENT: *44
|
700
|
-
UIDNEXT: *45
|
701
|
-
HIGHESTMODSEQ: *46
|
702
|
-
FETCH:
|
703
|
-
- !ruby/struct:Net::IMAP::FetchData
|
704
|
-
seqno: 181
|
705
|
-
attr:
|
706
|
-
X-GM-THRID: 1490771293684090059
|
707
|
-
X-GM-MSGID: 1490771293684090059
|
708
|
-
X-GM-LABELS:
|
709
|
-
- "\\Important"
|
710
|
-
- "\\Inbox"
|
711
|
-
- "\\Sent"
|
712
|
-
- Great
|
713
|
-
UID: 189
|
714
|
-
FLAGS: []
|
715
|
-
ENVELOPE: !ruby/struct:Net::IMAP::Envelope
|
716
|
-
date: Mon, 19 Jan 2015 18:31:32 -0500
|
717
|
-
subject: Hello world!
|
718
|
-
from:
|
719
|
-
- !ruby/struct:Net::IMAP::Address
|
720
|
-
name:
|
721
|
-
route:
|
722
|
-
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
723
|
-
host: gmail.com
|
724
|
-
sender:
|
725
|
-
- !ruby/struct:Net::IMAP::Address
|
726
|
-
name:
|
727
|
-
route:
|
728
|
-
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
729
|
-
host: gmail.com
|
730
|
-
reply_to:
|
731
|
-
- !ruby/struct:Net::IMAP::Address
|
732
|
-
name:
|
733
|
-
route:
|
734
|
-
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
735
|
-
host: gmail.com
|
736
|
-
to:
|
737
|
-
- !ruby/struct:Net::IMAP::Address
|
738
|
-
name:
|
739
|
-
route:
|
740
|
-
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
741
|
-
host: gmail.com
|
742
|
-
cc:
|
743
|
-
bcc:
|
744
|
-
in_reply_to:
|
745
|
-
message_id: "<54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>"
|
746
|
-
BODY[]: "Return-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
|
747
|
-
from gmail.com (99-156-120-246.lightspeed.miamfl.sbcglobal.net. [99.156.120.246])\r\n
|
748
|
-
\ by mx.google.com with ESMTPSA id a15sm890292oic.18.2015.01.19.15.31.33\r\n
|
749
|
-
\ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.2
|
750
|
-
cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r\n Mon, 19 Jan
|
751
|
-
2015 15:31:34 -0800 (PST)\r\nDate: Mon, 19 Jan 2015 18:31:32 -0500\r\nFrom:
|
752
|
-
ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID:
|
753
|
-
<54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>\r\nSubject: Hello world!\r\nMime-Version:
|
754
|
-
1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
|
755
|
-
7bit\r\n\r\nYeah, hello there!\r\n"
|
756
|
-
LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
|
757
|
-
- - :return
|
758
|
-
- !ruby/struct:Net::IMAP::TaggedResponse
|
759
|
-
tag: RUBY0013
|
760
|
-
name: OK
|
761
|
-
data: !ruby/struct:Net::IMAP::ResponseText
|
762
|
-
code:
|
763
|
-
text: 73 good day (Success)
|
764
|
-
raw_data: "RUBY0013 OK 73 good day (Success)\r\n"
|
765
|
-
- FLAGS: *39
|
766
|
-
OK: *40
|
767
|
-
PERMANENTFLAGS: *41
|
768
|
-
UIDVALIDITY: *42
|
769
|
-
EXISTS: *43
|
770
|
-
RECENT: *44
|
771
|
-
UIDNEXT: *45
|
772
|
-
HIGHESTMODSEQ: *46
|
773
|
-
BYE:
|
774
|
-
- !ruby/struct:Net::IMAP::ResponseText
|
775
|
-
code:
|
776
|
-
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: &7
|
135
|
+
- - :Answered
|
136
|
+
- :Flagged
|
137
|
+
- :Draft
|
138
|
+
- :Deleted
|
139
|
+
- :Seen
|
140
|
+
- "$Phishing"
|
141
|
+
- "$NotPhishing"
|
142
|
+
OK: &8
|
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: '14713'
|
170
|
+
text: ''
|
171
|
+
PERMANENTFLAGS: &9
|
172
|
+
- *2
|
173
|
+
UIDVALIDITY: &10
|
174
|
+
- 11
|
175
|
+
EXISTS: &11
|
176
|
+
- 181
|
177
|
+
RECENT: &12
|
178
|
+
- 0
|
179
|
+
UIDNEXT: &13
|
180
|
+
- 190
|
181
|
+
HIGHESTMODSEQ: &14
|
182
|
+
- '14713'
|
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: &15
|
194
|
+
- - :Answered
|
195
|
+
- :Flagged
|
196
|
+
- :Draft
|
197
|
+
- :Deleted
|
198
|
+
- :Seen
|
199
|
+
- "$Phishing"
|
200
|
+
- "$NotPhishing"
|
201
|
+
OK: &16
|
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: '14713'
|
229
|
+
text: ''
|
230
|
+
PERMANENTFLAGS: &17
|
231
|
+
- *3
|
232
|
+
UIDVALIDITY: &18
|
233
|
+
- 11
|
234
|
+
EXISTS: &19
|
235
|
+
- 181
|
236
|
+
RECENT: &20
|
237
|
+
- 0
|
238
|
+
UIDNEXT: &21
|
239
|
+
- 190
|
240
|
+
HIGHESTMODSEQ: &22
|
241
|
+
- '14713'
|
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: &23
|
253
|
+
- - :Answered
|
254
|
+
- :Flagged
|
255
|
+
- :Draft
|
256
|
+
- :Deleted
|
257
|
+
- :Seen
|
258
|
+
- "$Phishing"
|
259
|
+
- "$NotPhishing"
|
260
|
+
OK: &24
|
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: '14713'
|
288
|
+
text: ''
|
289
|
+
PERMANENTFLAGS: &25
|
290
|
+
- *4
|
291
|
+
UIDVALIDITY: &26
|
292
|
+
- 11
|
293
|
+
EXISTS: &27
|
294
|
+
- 181
|
295
|
+
RECENT: &28
|
296
|
+
- 0
|
297
|
+
UIDNEXT: &29
|
298
|
+
- 190
|
299
|
+
HIGHESTMODSEQ: &30
|
300
|
+
- '14713'
|
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: &31
|
312
|
+
- - :Answered
|
313
|
+
- :Flagged
|
314
|
+
- :Draft
|
315
|
+
- :Deleted
|
316
|
+
- :Seen
|
317
|
+
- "$Phishing"
|
318
|
+
- "$NotPhishing"
|
319
|
+
OK: &32
|
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: '14713'
|
347
|
+
text: ''
|
348
|
+
PERMANENTFLAGS: &33
|
349
|
+
- *5
|
350
|
+
UIDVALIDITY: &34
|
351
|
+
- 11
|
352
|
+
EXISTS: &35
|
353
|
+
- 181
|
354
|
+
RECENT: &36
|
355
|
+
- 0
|
356
|
+
UIDNEXT: &37
|
357
|
+
- 190
|
358
|
+
HIGHESTMODSEQ: &38
|
359
|
+
- '14713'
|
360
|
+
- - :return
|
361
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
362
|
+
tag: RUBY0011
|
363
|
+
name: OK
|
364
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
365
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
366
|
+
name: READ-WRITE
|
367
|
+
data:
|
368
|
+
text: " [Gmail]/All Mail selected. (Success)"
|
369
|
+
raw_data: "RUBY0011 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
|
370
|
+
- FLAGS: &39
|
371
|
+
- - :Answered
|
372
|
+
- :Flagged
|
373
|
+
- :Draft
|
374
|
+
- :Deleted
|
375
|
+
- :Seen
|
376
|
+
- "$Phishing"
|
377
|
+
- "$NotPhishing"
|
378
|
+
OK: &40
|
379
|
+
- !ruby/struct:Net::IMAP::ResponseText
|
380
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
381
|
+
name: PERMANENTFLAGS
|
382
|
+
data: &6
|
383
|
+
- :Answered
|
384
|
+
- :Flagged
|
385
|
+
- :Draft
|
386
|
+
- :Deleted
|
387
|
+
- :Seen
|
388
|
+
- "$Phishing"
|
389
|
+
- "$NotPhishing"
|
390
|
+
- :*
|
391
|
+
text: " Flags permitted."
|
392
|
+
- !ruby/struct:Net::IMAP::ResponseText
|
393
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
394
|
+
name: UIDVALIDITY
|
395
|
+
data: 11
|
396
|
+
text: " UIDs valid."
|
397
|
+
- !ruby/struct:Net::IMAP::ResponseText
|
398
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
399
|
+
name: UIDNEXT
|
400
|
+
data: 190
|
401
|
+
text: " Predicted next UID."
|
402
|
+
- !ruby/struct:Net::IMAP::ResponseText
|
403
|
+
code: !ruby/struct:Net::IMAP::ResponseCode
|
404
|
+
name: HIGHESTMODSEQ
|
405
|
+
data: '14720'
|
406
|
+
text: ''
|
407
|
+
PERMANENTFLAGS: &41
|
408
|
+
- *6
|
409
|
+
UIDVALIDITY: &42
|
410
|
+
- 11
|
411
|
+
EXISTS: &43
|
412
|
+
- 181
|
413
|
+
RECENT: &44
|
414
|
+
- 0
|
415
|
+
UIDNEXT: &45
|
416
|
+
- 190
|
417
|
+
HIGHESTMODSEQ: &46
|
418
|
+
- '14720'
|
419
|
+
UID SEARCH-0010f3078427015fc193bf14c1871582:
|
420
|
+
- - :return
|
421
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
422
|
+
tag: RUBY0004
|
423
|
+
name: OK
|
424
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
425
|
+
code:
|
426
|
+
text: SEARCH completed (Success)
|
427
|
+
raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
|
428
|
+
- FLAGS: *7
|
429
|
+
OK: *8
|
430
|
+
PERMANENTFLAGS: *9
|
431
|
+
UIDVALIDITY: *10
|
432
|
+
EXISTS: *11
|
433
|
+
RECENT: *12
|
434
|
+
UIDNEXT: *13
|
435
|
+
HIGHESTMODSEQ: *14
|
436
|
+
SEARCH:
|
437
|
+
- - 4
|
438
|
+
- 5
|
439
|
+
- 11
|
440
|
+
- 12
|
441
|
+
- 13
|
442
|
+
- 14
|
443
|
+
- 15
|
444
|
+
- 16
|
445
|
+
- 17
|
446
|
+
- 18
|
447
|
+
- 19
|
448
|
+
- 20
|
449
|
+
- 21
|
450
|
+
- 22
|
451
|
+
- 23
|
452
|
+
- 24
|
453
|
+
- 25
|
454
|
+
- 26
|
455
|
+
- 27
|
456
|
+
- 28
|
457
|
+
- 29
|
458
|
+
- 30
|
459
|
+
- 31
|
460
|
+
- 32
|
461
|
+
- 33
|
462
|
+
- 34
|
463
|
+
- 35
|
464
|
+
- 36
|
465
|
+
- 37
|
466
|
+
- 38
|
467
|
+
- 39
|
468
|
+
- 40
|
469
|
+
- 41
|
470
|
+
- 42
|
471
|
+
- 43
|
472
|
+
- 44
|
473
|
+
- 45
|
474
|
+
- 46
|
475
|
+
- 47
|
476
|
+
- 48
|
477
|
+
- 49
|
478
|
+
- 50
|
479
|
+
- 51
|
480
|
+
- 52
|
481
|
+
- 53
|
482
|
+
- 54
|
483
|
+
- 55
|
484
|
+
- 56
|
485
|
+
- 57
|
486
|
+
- 58
|
487
|
+
- 59
|
488
|
+
- 60
|
489
|
+
- 61
|
490
|
+
- 62
|
491
|
+
- 63
|
492
|
+
- 64
|
493
|
+
- 65
|
494
|
+
- 66
|
495
|
+
- 67
|
496
|
+
- 68
|
497
|
+
- 69
|
498
|
+
- 70
|
499
|
+
- 71
|
500
|
+
- 72
|
501
|
+
- 73
|
502
|
+
- 74
|
503
|
+
- 75
|
504
|
+
- 76
|
505
|
+
- 77
|
506
|
+
- 78
|
507
|
+
- 79
|
508
|
+
- 80
|
509
|
+
- 81
|
510
|
+
- 82
|
511
|
+
- 83
|
512
|
+
- 84
|
513
|
+
- 85
|
514
|
+
- 86
|
515
|
+
- 87
|
516
|
+
- 88
|
517
|
+
- 89
|
518
|
+
- 90
|
519
|
+
- 91
|
520
|
+
- 92
|
521
|
+
- 93
|
522
|
+
- 94
|
523
|
+
- 95
|
524
|
+
- 96
|
525
|
+
- 97
|
526
|
+
- 98
|
527
|
+
- 99
|
528
|
+
- 100
|
529
|
+
- 101
|
530
|
+
- 102
|
531
|
+
- 103
|
532
|
+
- 104
|
533
|
+
- 105
|
534
|
+
- 106
|
535
|
+
- 107
|
536
|
+
- 108
|
537
|
+
- 109
|
538
|
+
- 110
|
539
|
+
- 111
|
540
|
+
- 112
|
541
|
+
- 113
|
542
|
+
- 114
|
543
|
+
- 115
|
544
|
+
- 116
|
545
|
+
- 117
|
546
|
+
- 118
|
547
|
+
- 119
|
548
|
+
- 120
|
549
|
+
- 121
|
550
|
+
- 122
|
551
|
+
- 123
|
552
|
+
- 124
|
553
|
+
- 125
|
554
|
+
- 126
|
555
|
+
- 127
|
556
|
+
- 128
|
557
|
+
- 129
|
558
|
+
- 130
|
559
|
+
- 131
|
560
|
+
- 132
|
561
|
+
- 133
|
562
|
+
- 134
|
563
|
+
- 135
|
564
|
+
- 136
|
565
|
+
- 137
|
566
|
+
- 138
|
567
|
+
- 139
|
568
|
+
- 140
|
569
|
+
- 141
|
570
|
+
- 142
|
571
|
+
- 143
|
572
|
+
- 144
|
573
|
+
- 145
|
574
|
+
- 157
|
575
|
+
- 158
|
576
|
+
- 159
|
577
|
+
- 160
|
578
|
+
- 161
|
579
|
+
- 162
|
580
|
+
- 166
|
581
|
+
- 167
|
582
|
+
- 168
|
583
|
+
- 169
|
584
|
+
- 170
|
585
|
+
- 171
|
586
|
+
- 172
|
587
|
+
- 173
|
588
|
+
- 174
|
589
|
+
- 175
|
590
|
+
- 176
|
591
|
+
- 177
|
592
|
+
- 178
|
593
|
+
- 179
|
594
|
+
- 180
|
595
|
+
- 181
|
596
|
+
- 182
|
597
|
+
- 183
|
598
|
+
- 184
|
599
|
+
- 185
|
600
|
+
- 188
|
601
|
+
- 189
|
602
|
+
UID STORE-ac884ffbfb66da354d64b0f2d42a166f:
|
603
|
+
- - :return
|
604
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
605
|
+
tag: RUBY0006
|
606
|
+
name: OK
|
607
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
608
|
+
code:
|
609
|
+
text: Success
|
610
|
+
raw_data: "RUBY0006 OK Success\r\n"
|
611
|
+
- FLAGS: *15
|
612
|
+
OK: *16
|
613
|
+
PERMANENTFLAGS: *17
|
614
|
+
UIDVALIDITY: *18
|
615
|
+
EXISTS: *19
|
616
|
+
RECENT: *20
|
617
|
+
UIDNEXT: *21
|
618
|
+
HIGHESTMODSEQ: *22
|
619
|
+
FETCH:
|
620
|
+
- !ruby/struct:Net::IMAP::FetchData
|
621
|
+
seqno: 181
|
622
|
+
attr:
|
623
|
+
X-GM-LABELS:
|
624
|
+
- "\\Important"
|
625
|
+
- "\\Inbox"
|
626
|
+
- "\\Sent"
|
627
|
+
- Awesome
|
628
|
+
- Great
|
629
|
+
UID: 189
|
630
|
+
UID STORE-c2d6f8de722e6c9f06f0a6a1a4163f69:
|
631
|
+
- - :return
|
632
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
633
|
+
tag: RUBY0008
|
634
|
+
name: OK
|
635
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
636
|
+
code:
|
637
|
+
text: Success
|
638
|
+
raw_data: "RUBY0008 OK Success\r\n"
|
639
|
+
- FLAGS: *23
|
640
|
+
OK: *24
|
641
|
+
PERMANENTFLAGS: *25
|
642
|
+
UIDVALIDITY: *26
|
643
|
+
EXISTS: *27
|
644
|
+
RECENT: *28
|
645
|
+
UIDNEXT: *29
|
646
|
+
HIGHESTMODSEQ: *30
|
647
|
+
FETCH:
|
648
|
+
- !ruby/struct:Net::IMAP::FetchData
|
649
|
+
seqno: 181
|
650
|
+
attr:
|
651
|
+
X-GM-LABELS:
|
652
|
+
- "\\Important"
|
653
|
+
- "\\Inbox"
|
654
|
+
- "\\Sent"
|
655
|
+
- Awesome
|
656
|
+
- Great
|
657
|
+
UID: 189
|
658
|
+
UID STORE-2e46c35991051e7831af457bc2435903:
|
659
|
+
- - :return
|
660
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
661
|
+
tag: RUBY0010
|
662
|
+
name: OK
|
663
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
664
|
+
code:
|
665
|
+
text: Success
|
666
|
+
raw_data: "RUBY0010 OK Success\r\n"
|
667
|
+
- FLAGS: *31
|
668
|
+
OK: *32
|
669
|
+
PERMANENTFLAGS: *33
|
670
|
+
UIDVALIDITY: *34
|
671
|
+
EXISTS: *35
|
672
|
+
RECENT: *36
|
673
|
+
UIDNEXT: *37
|
674
|
+
HIGHESTMODSEQ: *38
|
675
|
+
FETCH:
|
676
|
+
- !ruby/struct:Net::IMAP::FetchData
|
677
|
+
seqno: 181
|
678
|
+
attr:
|
679
|
+
X-GM-LABELS:
|
680
|
+
- "\\Important"
|
681
|
+
- "\\Inbox"
|
682
|
+
- "\\Sent"
|
683
|
+
- Great
|
684
|
+
UID: 189
|
685
|
+
UID FETCH-c91d19726aebc8362537324efef9b96b:
|
686
|
+
- - :return
|
687
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
688
|
+
tag: RUBY0012
|
689
|
+
name: OK
|
690
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
691
|
+
code:
|
692
|
+
text: Success
|
693
|
+
raw_data: "RUBY0012 OK Success\r\n"
|
694
|
+
- FLAGS: *39
|
695
|
+
OK: *40
|
696
|
+
PERMANENTFLAGS: *41
|
697
|
+
UIDVALIDITY: *42
|
698
|
+
EXISTS: *43
|
699
|
+
RECENT: *44
|
700
|
+
UIDNEXT: *45
|
701
|
+
HIGHESTMODSEQ: *46
|
702
|
+
FETCH:
|
703
|
+
- !ruby/struct:Net::IMAP::FetchData
|
704
|
+
seqno: 181
|
705
|
+
attr:
|
706
|
+
X-GM-THRID: 1490771293684090059
|
707
|
+
X-GM-MSGID: 1490771293684090059
|
708
|
+
X-GM-LABELS:
|
709
|
+
- "\\Important"
|
710
|
+
- "\\Inbox"
|
711
|
+
- "\\Sent"
|
712
|
+
- Great
|
713
|
+
UID: 189
|
714
|
+
FLAGS: []
|
715
|
+
ENVELOPE: !ruby/struct:Net::IMAP::Envelope
|
716
|
+
date: Mon, 19 Jan 2015 18:31:32 -0500
|
717
|
+
subject: Hello world!
|
718
|
+
from:
|
719
|
+
- !ruby/struct:Net::IMAP::Address
|
720
|
+
name:
|
721
|
+
route:
|
722
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
723
|
+
host: gmail.com
|
724
|
+
sender:
|
725
|
+
- !ruby/struct:Net::IMAP::Address
|
726
|
+
name:
|
727
|
+
route:
|
728
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
729
|
+
host: gmail.com
|
730
|
+
reply_to:
|
731
|
+
- !ruby/struct:Net::IMAP::Address
|
732
|
+
name:
|
733
|
+
route:
|
734
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
735
|
+
host: gmail.com
|
736
|
+
to:
|
737
|
+
- !ruby/struct:Net::IMAP::Address
|
738
|
+
name:
|
739
|
+
route:
|
740
|
+
mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
|
741
|
+
host: gmail.com
|
742
|
+
cc:
|
743
|
+
bcc:
|
744
|
+
in_reply_to:
|
745
|
+
message_id: "<54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>"
|
746
|
+
BODY[]: "Return-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
|
747
|
+
from gmail.com (99-156-120-246.lightspeed.miamfl.sbcglobal.net. [99.156.120.246])\r\n
|
748
|
+
\ by mx.google.com with ESMTPSA id a15sm890292oic.18.2015.01.19.15.31.33\r\n
|
749
|
+
\ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.2
|
750
|
+
cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r\n Mon, 19 Jan
|
751
|
+
2015 15:31:34 -0800 (PST)\r\nDate: Mon, 19 Jan 2015 18:31:32 -0500\r\nFrom:
|
752
|
+
ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID:
|
753
|
+
<54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>\r\nSubject: Hello world!\r\nMime-Version:
|
754
|
+
1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
|
755
|
+
7bit\r\n\r\nYeah, hello there!\r\n"
|
756
|
+
LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
|
757
|
+
- - :return
|
758
|
+
- !ruby/struct:Net::IMAP::TaggedResponse
|
759
|
+
tag: RUBY0013
|
760
|
+
name: OK
|
761
|
+
data: !ruby/struct:Net::IMAP::ResponseText
|
762
|
+
code:
|
763
|
+
text: 73 good day (Success)
|
764
|
+
raw_data: "RUBY0013 OK 73 good day (Success)\r\n"
|
765
|
+
- FLAGS: *39
|
766
|
+
OK: *40
|
767
|
+
PERMANENTFLAGS: *41
|
768
|
+
UIDVALIDITY: *42
|
769
|
+
EXISTS: *43
|
770
|
+
RECENT: *44
|
771
|
+
UIDNEXT: *45
|
772
|
+
HIGHESTMODSEQ: *46
|
773
|
+
BYE:
|
774
|
+
- !ruby/struct:Net::IMAP::ResponseText
|
775
|
+
code:
|
776
|
+
text: LOGOUT Requested
|