mailgun-ruby 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,1139 +2,21 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api:<APIKEY>@api.mailgun.net/v3/domains
6
- body:
7
- encoding: US-ASCII
8
- string: smtp_password=super_secret&spam_action=tag&wildcard=false&name=integration-test.domain.invalid
9
- headers:
10
- Accept:
11
- - "*/*; q=0.5, application/xml"
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Length:
15
- - '94'
16
- Content-Type:
17
- - application/x-www-form-urlencoded
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Server:
26
- - nginx
27
- Date:
28
- - Fri, 15 Jan 2016 20:11:28 GMT
29
- Content-Type:
30
- - application/json
31
- Content-Length:
32
- - '1417'
33
- Connection:
34
- - keep-alive
35
- Content-Disposition:
36
- - inline
37
- Access-Control-Allow-Origin:
38
- - "*"
39
- - "*"
40
- Access-Control-Max-Age:
41
- - '600'
42
- - '600'
43
- Access-Control-Allow-Methods:
44
- - GET, POST, PUT, DELETE, OPTIONS
45
- - GET, POST, PUT, DELETE, OPTIONS
46
- Access-Control-Allow-Headers:
47
- - Content-Type, x-requested-with
48
- - Content-Type, x-requested-with
49
- body:
50
- encoding: UTF-8
51
- string: |-
52
- {
53
- "domain": {
54
- "created_at": "Fri, 15 Jan 2016 20:11:28 GMT",
55
- "name": "integration-test.domain.invalid",
56
- "require_tls": false,
57
- "skip_verification": false,
58
- "smtp_login": "postmaster@integration-test.domain.invalid",
59
- "smtp_password": "super_secret",
60
- "spam_action": "tag",
61
- "state": "unverified",
62
- "type": "custom",
63
- "wildcard": false
64
- },
65
- "message": "Domain has been created",
66
- "receiving_dns_records": [
67
- {
68
- "priority": "10",
69
- "record_type": "MX",
70
- "valid": "unknown",
71
- "value": "mxa.mailgun.org"
72
- },
73
- {
74
- "priority": "10",
75
- "record_type": "MX",
76
- "valid": "unknown",
77
- "value": "mxb.mailgun.org"
78
- }
79
- ],
80
- "sending_dns_records": [
81
- {
82
- "name": "integration-test.domain.invalid",
83
- "record_type": "TXT",
84
- "valid": "unknown",
85
- "value": "v=spf1 include:mailgun.org ~all"
86
- },
87
- {
88
- "name": "pic._domainkey.integration-test.domain.invalid",
89
- "record_type": "TXT",
90
- "valid": "unknown",
91
- "value": "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCYHL7d9j0Y2Vzt11AQk3ZoO2tNu4E3MRJvjw4Uhw3WY2iUpM4x1pw/L+nzGFyd0NfCVLea6mafUTeTWTMIocQVZLWqtnVPONS+YkQTqo1xtcZzC7GMBEVA+VsEMAYbw57pyIu1DQVW+dnqd7cbb4POdLk3Jy75w59Mys8/9GQUNQIDAQAB"
92
- },
93
- {
94
- "name": "email.integration-test.domain.invalid",
95
- "record_type": "CNAME",
96
- "valid": "unknown",
97
- "value": "mailgun.org"
98
- }
99
- ]
100
- }
101
- http_version:
102
- recorded_at: Fri, 15 Jan 2016 20:11:29 GMT
103
- - request:
104
- method: get
105
- uri: https://api:<APIKEY>@api.mailgun.net/v3/domains/integration-test.domain.invalid
106
- body:
107
- encoding: US-ASCII
108
- string: ''
109
- headers:
110
- Accept:
111
- - "*/*"
112
- Accept-Encoding:
113
- - gzip, deflate
114
- User-Agent:
115
- - Ruby
116
- response:
117
- status:
118
- code: 200
119
- message: OK
120
- headers:
121
- Server:
122
- - nginx
123
- Date:
124
- - Fri, 15 Jan 2016 20:11:29 GMT
125
- Content-Type:
126
- - application/json
127
- Content-Length:
128
- - '1377'
129
- Connection:
130
- - keep-alive
131
- Content-Disposition:
132
- - inline
133
- Access-Control-Allow-Origin:
134
- - "*"
135
- - "*"
136
- Access-Control-Max-Age:
137
- - '600'
138
- - '600'
139
- Access-Control-Allow-Methods:
140
- - GET, POST, PUT, DELETE, OPTIONS
141
- - GET, POST, PUT, DELETE, OPTIONS
142
- Access-Control-Allow-Headers:
143
- - Content-Type, x-requested-with
144
- - Content-Type, x-requested-with
145
- body:
146
- encoding: UTF-8
147
- string: |-
148
- {
149
- "domain": {
150
- "created_at": "Fri, 15 Jan 2016 20:11:28 GMT",
151
- "name": "integration-test.domain.invalid",
152
- "require_tls": false,
153
- "skip_verification": false,
154
- "smtp_login": "postmaster@integration-test.domain.invalid",
155
- "smtp_password": "super_secret",
156
- "spam_action": "tag",
157
- "state": "unverified",
158
- "type": "custom",
159
- "wildcard": false
160
- },
161
- "receiving_dns_records": [
162
- {
163
- "priority": "10",
164
- "record_type": "MX",
165
- "valid": "unknown",
166
- "value": "mxa.mailgun.org"
167
- },
168
- {
169
- "priority": "10",
170
- "record_type": "MX",
171
- "valid": "unknown",
172
- "value": "mxb.mailgun.org"
173
- }
174
- ],
175
- "sending_dns_records": [
176
- {
177
- "name": "integration-test.domain.invalid",
178
- "record_type": "TXT",
179
- "valid": "unknown",
180
- "value": "v=spf1 include:mailgun.org ~all"
181
- },
182
- {
183
- "name": "pic._domainkey.integration-test.domain.invalid",
184
- "record_type": "TXT",
185
- "valid": "unknown",
186
- "value": "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCYHL7d9j0Y2Vzt11AQk3ZoO2tNu4E3MRJvjw4Uhw3WY2iUpM4x1pw/L+nzGFyd0NfCVLea6mafUTeTWTMIocQVZLWqtnVPONS+YkQTqo1xtcZzC7GMBEVA+VsEMAYbw57pyIu1DQVW+dnqd7cbb4POdLk3Jy75w59Mys8/9GQUNQIDAQAB"
187
- },
188
- {
189
- "name": "email.integration-test.domain.invalid",
190
- "record_type": "CNAME",
191
- "valid": "unknown",
192
- "value": "mailgun.org"
193
- }
194
- ]
195
- }
196
- http_version:
197
- recorded_at: Fri, 15 Jan 2016 20:11:29 GMT
198
- - request:
199
- method: get
200
- uri: https://api:<APIKEY>@api.mailgun.net/v3/domains
201
- body:
202
- encoding: US-ASCII
203
- string: ''
204
- headers:
205
- Accept:
206
- - "*/*"
207
- Accept-Encoding:
208
- - gzip, deflate
209
- User-Agent:
210
- - Ruby
211
- response:
212
- status:
213
- code: 200
214
- message: OK
215
- headers:
216
- Server:
217
- - nginx
218
- Date:
219
- - Fri, 15 Jan 2016 20:11:29 GMT
220
- Content-Type:
221
- - application/json
222
- Content-Length:
223
- - '2041'
224
- Connection:
225
- - keep-alive
226
- Content-Disposition:
227
- - inline
228
- Access-Control-Allow-Origin:
229
- - "*"
230
- - "*"
231
- Access-Control-Max-Age:
232
- - '600'
233
- - '600'
234
- Access-Control-Allow-Methods:
235
- - GET, POST, PUT, DELETE, OPTIONS
236
- - GET, POST, PUT, DELETE, OPTIONS
237
- Access-Control-Allow-Headers:
238
- - Content-Type, x-requested-with
239
- - Content-Type, x-requested-with
240
- body:
241
- encoding: UTF-8
242
- string: |-
243
- {
244
- "items": [
245
- {
246
- "created_at": "Fri, 15 Jan 2016 20:11:28 GMT",
247
- "name": "integration-test.domain.invalid",
248
- "require_tls": false,
249
- "skip_verification": false,
250
- "smtp_login": "postmaster@integration-test.domain.invalid",
251
- "smtp_password": "super_secret",
252
- "spam_action": "tag",
253
- "state": "unverified",
254
- "type": "custom",
255
- "wildcard": false
256
- },
257
- {
258
- "created_at": "Fri, 08 Jan 2016 21:40:17 GMT",
259
- "name": "mail.mitchellandness.com",
260
- "require_tls": false,
261
- "skip_verification": false,
262
- "smtp_login": "postmaster@mail.mitchellandness.com",
263
- "smtp_password": "33114017612439705daa4edcda233950",
264
- "spam_action": "disabled",
265
- "state": "active",
266
- "type": "custom",
267
- "wildcard": false
268
- },
269
- {
270
- "created_at": "Tue, 29 Dec 2015 21:05:59 GMT",
271
- "name": "DOMAIN.TEST",
272
- "require_tls": false,
273
- "skip_verification": false,
274
- "smtp_login": "postmaster@DOMAIN.TEST",
275
- "smtp_password": "bc68064e57238b091107c80dd61a7e6a",
276
- "spam_action": "disabled",
277
- "state": "active",
278
- "type": "sandbox",
279
- "wildcard": false
280
- },
281
- {
282
- "created_at": "Mon, 14 Dec 2015 22:02:29 GMT",
283
- "name": "mail.honingpigeon.com",
284
- "require_tls": false,
285
- "skip_verification": false,
286
- "smtp_login": "postmaster@mail.honingpigeon.com",
287
- "smtp_password": "7344e71cd355c986d6ece8218a520b88",
288
- "spam_action": "disabled",
289
- "state": "active",
290
- "type": "custom",
291
- "wildcard": false
292
- },
293
- {
294
- "created_at": "Mon, 14 Sep 2015 21:34:08 GMT",
295
- "name": "mailhive.dmipartners.com",
296
- "require_tls": false,
297
- "skip_verification": false,
298
- "smtp_login": "postmaster@mailhive.dmipartners.com",
299
- "smtp_password": "a040bcfef229efa52283224144ebc15f",
300
- "spam_action": "disabled",
301
- "state": "active",
302
- "type": "custom",
303
- "wildcard": false
304
- }
305
- ],
306
- "total_count": 5
307
- }
308
- http_version:
309
- recorded_at: Fri, 15 Jan 2016 20:11:29 GMT
310
- - request:
311
- method: delete
312
- uri: https://api:<APIKEY>@api.mailgun.net/v3/domains/integration-test.domain.invalid
313
- body:
314
- encoding: US-ASCII
315
- string: ''
316
- headers:
317
- Accept:
318
- - "*/*; q=0.5, application/xml"
319
- Accept-Encoding:
320
- - gzip, deflate
321
- User-Agent:
322
- - Ruby
323
- response:
324
- status:
325
- code: 200
326
- message: OK
327
- headers:
328
- Server:
329
- - nginx
330
- Date:
331
- - Fri, 15 Jan 2016 20:12:54 GMT
332
- Content-Type:
333
- - application/json
334
- Content-Length:
335
- - '42'
336
- Connection:
337
- - keep-alive
338
- Content-Disposition:
339
- - inline
340
- Access-Control-Allow-Origin:
341
- - "*"
342
- - "*"
343
- Access-Control-Max-Age:
344
- - '600'
345
- - '600'
346
- Access-Control-Allow-Methods:
347
- - GET, POST, PUT, DELETE, OPTIONS
348
- - GET, POST, PUT, DELETE, OPTIONS
349
- Access-Control-Allow-Headers:
350
- - Content-Type, x-requested-with
351
- - Content-Type, x-requested-with
352
- body:
353
- encoding: UTF-8
354
- string: |-
355
- {
356
- "message": "Domain has been deleted"
357
- }
358
- http_version:
359
- recorded_at: Fri, 15 Jan 2016 20:12:54 GMT
360
- - request:
361
- method: put
362
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid
363
- body:
364
- encoding: UTF-8
365
- string: spam_action=block&web_scheme=https&wildcard=true
366
- headers:
367
- Accept:
368
- - "*/*"
369
- User-Agent:
370
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
371
- Content-Length:
372
- - '48'
373
- Content-Type:
374
- - application/x-www-form-urlencoded
375
- Accept-Encoding:
376
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
377
- Host:
378
- - api.mailgun.net
379
- Authorization:
380
- - Basic xxx
381
- response:
382
- status:
383
- code: 200
384
- message: OK
385
- headers:
386
- Access-Control-Allow-Credentials:
387
- - 'true'
388
- Access-Control-Allow-Origin:
389
- - "*"
390
- Cache-Control:
391
- - no-store
392
- Content-Length:
393
- - '445'
394
- Content-Type:
395
- - application/json; charset=utf-8
396
- Date:
397
- - Mon, 17 Apr 2023 13:03:16 GMT
398
- Strict-Transport-Security:
399
- - max-age=63072000; includeSubDomains
400
- X-Xss-Protection:
401
- - 1; mode=block
402
- body:
403
- encoding: UTF-8
404
- string: '{"message":"Domain has been updated","domain":{"created_at":"Mon, 25
405
- Jan 2021 10:11:26 GMT","id":"600e994e20b1a14a5990856d","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@DOMAIN.TEST","spam_action":"block","state":"active","type":"sandbox","web_prefix":"email","web_scheme":"https","wildcard":true}}
406
-
407
- '
408
- http_version:
409
- recorded_at: Mon, 17 Apr 2023 13:04:47 GMT
410
- - request:
411
- method: post
412
- uri: https://api.mailgun.net/v3/domains
413
- body:
414
- encoding: UTF-8
415
- string: smtp_password=super_secret&spam_action=tag&wildcard=false&name=integration-test.domain.invalid
416
- headers:
417
- Accept:
418
- - "*/*"
419
- User-Agent:
420
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
421
- Content-Length:
422
- - '94'
423
- Content-Type:
424
- - application/x-www-form-urlencoded
425
- Accept-Encoding:
426
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
427
- Host:
428
- - api.mailgun.net
429
- Authorization:
430
- - Basic xxx
431
- response:
432
- status:
433
- code: 200
434
- message: OK
435
- headers:
436
- Access-Control-Allow-Credentials:
437
- - 'true'
438
- Access-Control-Allow-Origin:
439
- - "*"
440
- Cache-Control:
441
- - no-store
442
- Content-Length:
443
- - '1344'
444
- Content-Type:
445
- - application/json; charset=utf-8
446
- Date:
447
- - Sun, 07 Jan 2024 14:27:29 GMT
448
- Strict-Transport-Security:
449
- - max-age=63072000; includeSubDomains
450
- X-Mailgun-Key-Id:
451
- - 07bc7b05-fa4816a1
452
- X-Xss-Protection:
453
- - 1; mode=block
454
- body:
455
- encoding: UTF-8
456
- string: '{"message":"Domain DNS records have been created","domain":{"created_at":"Sun,
457
- 07 Jan 2024 14:27:29 GMT","id":"659ab4d1240ce9cf67764a72","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"tag","state":"unverified","type":"custom","web_prefix":"email","web_scheme":"http","wildcard":false},"receiving_dns_records":[{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxa.mailgun.org"},{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxb.mailgun.org"}],"sending_dns_records":[{"is_active":false,"cached":[],"name":"smtp._domainkey.integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"k=rsa;
458
- p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWCVG78+Mb0j0pL3PsG+sj24kWDWEjLhrsD5Kz7Ql4NXXRYe9vWFsZ7kbR84iiDDpmJpcW68C3QQ/pXaJDFp5v+jmfAG1zX5yiSVdpHmH71dCWq40iUJklH8bPp0S2GcXBOEY3JEV3zky2kejLYLItanUTY5f/zZ8zmCnen416+wIDAQAB"},{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
459
- include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
460
-
461
- '
462
- http_version:
463
- recorded_at: Sun, 07 Jan 2024 14:27:29 GMT
464
- - request:
465
- method: get
466
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid
467
- body:
468
- encoding: US-ASCII
469
- string: ''
470
- headers:
471
- Accept:
472
- - "*/*"
473
- User-Agent:
474
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
475
- Accept-Encoding:
476
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
477
- Host:
478
- - api.mailgun.net
479
- Authorization:
480
- - Basic xxx
481
- response:
482
- status:
483
- code: 200
484
- message: OK
485
- headers:
486
- Access-Control-Allow-Credentials:
487
- - 'true'
488
- Access-Control-Allow-Origin:
489
- - "*"
490
- Cache-Control:
491
- - no-store
492
- Content-Length:
493
- - '1295'
494
- Content-Type:
495
- - application/json; charset=utf-8
496
- Date:
497
- - Sun, 07 Jan 2024 14:27:29 GMT
498
- Strict-Transport-Security:
499
- - max-age=63072000; includeSubDomains
500
- X-Mailgun-Key-Id:
501
- - 07bc7b05-fa4816a1
502
- X-Xss-Protection:
503
- - 1; mode=block
504
- body:
505
- encoding: UTF-8
506
- string: '{"domain":{"created_at":"Sun, 07 Jan 2024 14:27:29 GMT","id":"659ab4d1240ce9cf67764a72","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"tag","state":"unverified","type":"custom","web_prefix":"email","web_scheme":"http","wildcard":false},"receiving_dns_records":[{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxa.mailgun.org"},{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxb.mailgun.org"}],"sending_dns_records":[{"is_active":false,"cached":[],"name":"smtp._domainkey.integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"k=rsa;
507
- p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWCVG78+Mb0j0pL3PsG+sj24kWDWEjLhrsD5Kz7Ql4NXXRYe9vWFsZ7kbR84iiDDpmJpcW68C3QQ/pXaJDFp5v+jmfAG1zX5yiSVdpHmH71dCWq40iUJklH8bPp0S2GcXBOEY3JEV3zky2kejLYLItanUTY5f/zZ8zmCnen416+wIDAQAB"},{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
508
- include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
509
-
510
- '
511
- http_version:
512
- recorded_at: Sun, 07 Jan 2024 14:27:29 GMT
513
- - request:
514
- method: get
515
- uri: https://api.mailgun.net/v3/domains
516
- body:
517
- encoding: US-ASCII
518
- string: ''
519
- headers:
520
- Accept:
521
- - "*/*"
522
- User-Agent:
523
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
524
- Accept-Encoding:
525
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
526
- Host:
527
- - api.mailgun.net
528
- Authorization:
529
- - Basic xxx
530
- response:
531
- status:
532
- code: 200
533
- message: OK
534
- headers:
535
- Access-Control-Allow-Credentials:
536
- - 'true'
537
- Access-Control-Allow-Origin:
538
- - "*"
539
- Cache-Control:
540
- - no-store
541
- Content-Length:
542
- - '785'
543
- Content-Type:
544
- - application/json; charset=utf-8
545
- Date:
546
- - Sun, 07 Jan 2024 14:27:30 GMT
547
- Strict-Transport-Security:
548
- - max-age=63072000; includeSubDomains
549
- X-Mailgun-Key-Id:
550
- - 07bc7b05-fa4816a1
551
- X-Xss-Protection:
552
- - 1; mode=block
553
- body:
554
- encoding: UTF-8
555
- string: '{"total_count":2,"items":[{"created_at":"Sun, 07 Jan 2024 14:27:29
556
- GMT","id":"659ab4d1240ce9cf67764a72","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"tag","state":"unverified","type":"custom","web_prefix":"email","web_scheme":"http","wildcard":false},{"created_at":"Mon,
557
- 25 Jan 2021 10:11:26 GMT","id":"600e994e20b1a14a5990856d","is_disabled":false,"name":"DOMAIN.TEST","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@DOMAIN.TEST","spam_action":"block","state":"active","type":"sandbox","web_prefix":"email","web_scheme":"https","wildcard":true}]}
558
-
559
- '
560
- http_version:
561
- recorded_at: Sun, 07 Jan 2024 14:27:29 GMT
562
- - request:
563
- method: delete
564
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid
565
- body:
566
- encoding: US-ASCII
567
- string: ''
568
- headers:
569
- Accept:
570
- - "*/*"
571
- User-Agent:
572
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
573
- Accept-Encoding:
574
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
575
- Host:
576
- - api.mailgun.net
577
- Authorization:
578
- - Basic xxx
579
- response:
580
- status:
581
- code: 200
582
- message: OK
583
- headers:
584
- Access-Control-Allow-Credentials:
585
- - 'true'
586
- Access-Control-Allow-Origin:
587
- - "*"
588
- Cache-Control:
589
- - no-store
590
- Content-Length:
591
- - '55'
592
- Content-Type:
593
- - application/json; charset=utf-8
594
- Date:
595
- - Sun, 07 Jan 2024 14:27:30 GMT
596
- Strict-Transport-Security:
597
- - max-age=63072000; includeSubDomains
598
- X-Mailgun-Key-Id:
599
- - 07bc7b05-fa4816a1
600
- X-Xss-Protection:
601
- - 1; mode=block
602
- body:
603
- encoding: UTF-8
604
- string: '{"message":"Domain will be deleted on the background"}
605
-
606
- '
607
- http_version:
608
- recorded_at: Sun, 07 Jan 2024 14:27:30 GMT
609
- - request:
610
- method: post
611
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/credentials
612
- body:
613
- encoding: UTF-8
614
- string: login=test_login&password=test_password
615
- headers:
616
- Accept:
617
- - "*/*"
618
- User-Agent:
619
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
620
- Content-Length:
621
- - '39'
622
- Content-Type:
623
- - application/x-www-form-urlencoded
624
- Accept-Encoding:
625
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
626
- Host:
627
- - api.mailgun.net
628
- Authorization:
629
- - Basic xxx
630
- response:
631
- status:
632
- code: 200
633
- message: OK
634
- headers:
635
- Access-Control-Allow-Credentials:
636
- - 'true'
637
- Access-Control-Allow-Origin:
638
- - "*"
639
- Cache-Control:
640
- - no-store
641
- Content-Disposition:
642
- - inline
643
- Content-Length:
644
- - '49'
645
- Content-Type:
646
- - application/json
647
- Date:
648
- - Sun, 07 Jan 2024 14:32:46 GMT
649
- Server:
650
- - TwistedWeb/20.3.0
651
- Strict-Transport-Security:
652
- - max-age=63072000; includeSubDomains
653
- X-Xss-Protection:
654
- - 1; mode=block
655
- body:
656
- encoding: UTF-8
657
- string: |
658
- {
659
- "message": "Created 1 credentials pair(s)"
660
- }
661
- http_version:
662
- recorded_at: Sun, 07 Jan 2024 14:32:46 GMT
663
- - request:
664
- method: put
665
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/credentials/test_login
666
- body:
667
- encoding: UTF-8
668
- string: password=test_password2
669
- headers:
670
- Accept:
671
- - "*/*"
672
- User-Agent:
673
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
674
- Content-Length:
675
- - '23'
676
- Content-Type:
677
- - application/x-www-form-urlencoded
678
- Accept-Encoding:
679
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
680
- Host:
681
- - api.mailgun.net
682
- Authorization:
683
- - Basic xxx
684
- response:
685
- status:
686
- code: 200
687
- message: OK
688
- headers:
689
- Access-Control-Allow-Credentials:
690
- - 'true'
691
- Access-Control-Allow-Origin:
692
- - "*"
693
- Cache-Control:
694
- - no-store
695
- Content-Disposition:
696
- - inline
697
- Content-Length:
698
- - '36'
699
- Content-Type:
700
- - application/json
701
- Date:
702
- - Sun, 07 Jan 2024 14:34:41 GMT
703
- Server:
704
- - TwistedWeb/20.3.0
705
- Strict-Transport-Security:
706
- - max-age=63072000; includeSubDomains
707
- X-Xss-Protection:
708
- - 1; mode=block
709
- body:
710
- encoding: UTF-8
711
- string: |
712
- {
713
- "message": "Password changed"
714
- }
715
- http_version:
716
- recorded_at: Sun, 07 Jan 2024 14:34:41 GMT
717
- - request:
718
- method: delete
719
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/credentials/test_login
720
- body:
721
- encoding: US-ASCII
722
- string: ''
723
- headers:
724
- Accept:
725
- - "*/*"
726
- User-Agent:
727
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
728
- Accept-Encoding:
729
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
730
- Host:
731
- - api.mailgun.net
732
- Authorization:
733
- - Basic xxx
734
- response:
735
- status:
736
- code: 200
737
- message: OK
738
- headers:
739
- Access-Control-Allow-Credentials:
740
- - 'true'
741
- Access-Control-Allow-Origin:
742
- - "*"
743
- Cache-Control:
744
- - no-store
745
- Content-Disposition:
746
- - inline
747
- Content-Length:
748
- - '126'
749
- Content-Type:
750
- - application/json
751
- Date:
752
- - Sun, 07 Jan 2024 14:35:45 GMT
753
- Server:
754
- - TwistedWeb/20.3.0
755
- Strict-Transport-Security:
756
- - max-age=63072000; includeSubDomains
757
- X-Xss-Protection:
758
- - 1; mode=block
759
- body:
760
- encoding: UTF-8
761
- string: "{\n \"message\": \"Credentials have been deleted\", \n \"spec\":
762
- \"test_login@DOMAIN.TEST\"\n}\n"
763
- http_version:
764
- recorded_at: Sun, 07 Jan 2024 14:35:46 GMT
765
- - request:
766
- method: get
767
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/connection
768
- body:
769
- encoding: US-ASCII
770
- string: ''
771
- headers:
772
- Accept:
773
- - "*/*"
774
- User-Agent:
775
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
776
- Accept-Encoding:
777
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
778
- Host:
779
- - api.mailgun.net
780
- Authorization:
781
- - Basic xxx
782
- response:
783
- status:
784
- code: 200
785
- message: OK
786
- headers:
787
- Access-Control-Allow-Credentials:
788
- - 'true'
789
- Access-Control-Allow-Origin:
790
- - "*"
791
- Cache-Control:
792
- - no-store
793
- Content-Length:
794
- - '48'
795
- Content-Type:
796
- - application/json; charset=utf-8
797
- Date:
798
- - Sun, 07 Jan 2024 14:42:01 GMT
799
- Strict-Transport-Security:
800
- - max-age=63072000; includeSubDomains
801
- X-Mailgun-Key-Id:
802
- - 07bc7b05-fa4816a1
803
- X-Xss-Protection:
804
- - 1; mode=block
805
- body:
806
- encoding: UTF-8
807
- string: '{"require_tls":false,"skip_verification":false}
808
-
809
- '
810
- http_version:
811
- recorded_at: Sun, 07 Jan 2024 14:42:01 GMT
812
- - request:
813
- method: put
814
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/connection
815
- body:
816
- encoding: UTF-8
817
- string: require_tls=true&skip_verification=true
818
- headers:
819
- Accept:
820
- - "*/*"
821
- User-Agent:
822
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
823
- Content-Length:
824
- - '39'
825
- Content-Type:
826
- - application/x-www-form-urlencoded
827
- Accept-Encoding:
828
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
829
- Host:
830
- - api.mailgun.net
831
- Authorization:
832
- - Basic xxx
833
- response:
834
- status:
835
- code: 200
836
- message: OK
837
- headers:
838
- Access-Control-Allow-Credentials:
839
- - 'true'
840
- Access-Control-Allow-Origin:
841
- - "*"
842
- Cache-Control:
843
- - no-store
844
- Content-Length:
845
- - '143'
846
- Content-Type:
847
- - application/json; charset=utf-8
848
- Date:
849
- - Sun, 07 Jan 2024 14:49:33 GMT
850
- Strict-Transport-Security:
851
- - max-age=63072000; includeSubDomains
852
- X-Mailgun-Key-Id:
853
- - 07bc7b05-fa4816a1
854
- X-Xss-Protection:
855
- - 1; mode=block
856
- body:
857
- encoding: UTF-8
858
- string: '{"message":"Domain connection settings have been updated, may take
859
- 10 minutes to fully propagate","require_tls":true,"skip_verification":true}
860
-
861
- '
862
- http_version:
863
- recorded_at: Sun, 07 Jan 2024 14:49:33 GMT
864
- - request:
865
- method: get
866
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/tracking
867
- body:
868
- encoding: US-ASCII
869
- string: ''
870
- headers:
871
- Accept:
872
- - "*/*"
873
- User-Agent:
874
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
875
- Accept-Encoding:
876
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
877
- Host:
878
- - api.mailgun.net
879
- Authorization:
880
- - Basic xxx
881
- response:
882
- status:
883
- code: 200
884
- message: OK
885
- headers:
886
- Access-Control-Allow-Credentials:
887
- - 'true'
888
- Access-Control-Allow-Origin:
889
- - "*"
890
- Cache-Control:
891
- - no-store
892
- Content-Length:
893
- - '179'
894
- Content-Type:
895
- - application/json; charset=utf-8
896
- Date:
897
- - Sun, 07 Jan 2024 14:51:15 GMT
898
- Strict-Transport-Security:
899
- - max-age=63072000; includeSubDomains
900
- X-Mailgun-Key-Id:
901
- - 07bc7b05-fa4816a1
902
- X-Xss-Protection:
903
- - 1; mode=block
904
- body:
905
- encoding: UTF-8
906
- string: '{"tracking":{"open":{"active":true,"place_at_the_top":true},"click":{"active":true},"unsubscribe":{"active":true,"html_footer":"<p>unsubscribe</p>","text_footer":"unsubscribe"}}}
907
-
908
- '
909
- http_version:
910
- recorded_at: Sun, 07 Jan 2024 14:51:15 GMT
911
- - request:
912
- method: put
913
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/tracking/open
914
- body:
915
- encoding: UTF-8
916
- string: active=false
917
- headers:
918
- Accept:
919
- - "*/*"
920
- User-Agent:
921
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
922
- Content-Length:
923
- - '12'
924
- Content-Type:
925
- - application/x-www-form-urlencoded
926
- Accept-Encoding:
927
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
928
- Host:
929
- - api.mailgun.net
930
- Authorization:
931
- - Basic xxx
932
- response:
933
- status:
934
- code: 200
935
- message: OK
936
- headers:
937
- Access-Control-Allow-Credentials:
938
- - 'true'
939
- Access-Control-Allow-Origin:
940
- - "*"
941
- Cache-Control:
942
- - no-store
943
- Content-Length:
944
- - '105'
945
- Content-Type:
946
- - application/json; charset=utf-8
947
- Date:
948
- - Sun, 07 Jan 2024 14:59:22 GMT
949
- Strict-Transport-Security:
950
- - max-age=63072000; includeSubDomains
951
- X-Mailgun-Key-Id:
952
- - 07bc7b05-fa4816a1
953
- X-Xss-Protection:
954
- - 1; mode=block
955
- body:
956
- encoding: UTF-8
957
- string: '{"message":"Domain tracking settings have been updated","open":{"active":false,"place_at_the_top":true}}
958
-
959
- '
960
- http_version:
961
- recorded_at: Sun, 07 Jan 2024 14:59:22 GMT
962
- - request:
963
- method: put
964
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/tracking/click
965
- body:
966
- encoding: UTF-8
967
- string: active=false
968
- headers:
969
- Accept:
970
- - "*/*"
971
- User-Agent:
972
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
973
- Content-Length:
974
- - '12'
975
- Content-Type:
976
- - application/x-www-form-urlencoded
977
- Accept-Encoding:
978
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
979
- Host:
980
- - api.mailgun.net
981
- Authorization:
982
- - Basic xxx
983
- response:
984
- status:
985
- code: 200
986
- message: OK
987
- headers:
988
- Access-Control-Allow-Credentials:
989
- - 'true'
990
- Access-Control-Allow-Origin:
991
- - "*"
992
- Cache-Control:
993
- - no-store
994
- Content-Length:
995
- - '82'
996
- Content-Type:
997
- - application/json; charset=utf-8
998
- Date:
999
- - Sun, 07 Jan 2024 15:01:03 GMT
1000
- Strict-Transport-Security:
1001
- - max-age=63072000; includeSubDomains
1002
- X-Mailgun-Key-Id:
1003
- - 07bc7b05-fa4816a1
1004
- X-Xss-Protection:
1005
- - 1; mode=block
1006
- body:
1007
- encoding: UTF-8
1008
- string: '{"message":"Domain tracking settings have been updated","click":{"active":false}}
1009
-
1010
- '
1011
- http_version:
1012
- recorded_at: Sun, 07 Jan 2024 15:01:03 GMT
1013
- - request:
1014
- method: put
1015
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/tracking/unsubscribe
1016
- body:
1017
- encoding: UTF-8
1018
- string: active=false
1019
- headers:
1020
- Accept:
1021
- - "*/*"
1022
- User-Agent:
1023
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1024
- Content-Length:
1025
- - '12'
1026
- Content-Type:
1027
- - application/x-www-form-urlencoded
1028
- Accept-Encoding:
1029
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1030
- Host:
1031
- - api.mailgun.net
1032
- Authorization:
1033
- - Basic xxx
1034
- response:
1035
- status:
1036
- code: 200
1037
- message: OK
1038
- headers:
1039
- Access-Control-Allow-Credentials:
1040
- - 'true'
1041
- Access-Control-Allow-Origin:
1042
- - "*"
1043
- Cache-Control:
1044
- - no-store
1045
- Content-Length:
1046
- - '151'
1047
- Content-Type:
1048
- - application/json; charset=utf-8
1049
- Date:
1050
- - Sun, 07 Jan 2024 15:13:04 GMT
1051
- Strict-Transport-Security:
1052
- - max-age=63072000; includeSubDomains
1053
- X-Mailgun-Key-Id:
1054
- - 07bc7b05-fa4816a1
1055
- X-Xss-Protection:
1056
- - 1; mode=block
1057
- body:
1058
- encoding: UTF-8
1059
- string: '{"message":"Domain tracking settings have been updated","unsubscribe":{"active":false,"html_footer":"<p>unsubscribe</p>","text_footer":"unsubscribe"}}
1060
-
1061
- '
1062
- http_version:
1063
- recorded_at: Sun, 07 Jan 2024 15:13:04 GMT
1064
- - request:
1065
- method: put
1066
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/dkim_authority
1067
- body:
1068
- encoding: UTF-8
1069
- string: active=false
1070
- headers:
1071
- Accept:
1072
- - "*/*"
1073
- User-Agent:
1074
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1075
- Content-Length:
1076
- - '12'
1077
- Content-Type:
1078
- - application/x-www-form-urlencoded
1079
- Accept-Encoding:
1080
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1081
- Host:
1082
- - api.mailgun.net
1083
- Authorization:
1084
- - Basic xxx
1085
- response:
1086
- status:
1087
- code: 200
1088
- message: OK
1089
- headers:
1090
- Access-Control-Allow-Credentials:
1091
- - 'true'
1092
- Access-Control-Allow-Origin:
1093
- - "*"
1094
- Cache-Control:
1095
- - no-store
1096
- Content-Length:
1097
- - '400'
1098
- Content-Type:
1099
- - application/json; charset=utf-8
1100
- Date:
1101
- - Sun, 07 Jan 2024 15:14:24 GMT
1102
- Strict-Transport-Security:
1103
- - max-age=63072000; includeSubDomains
1104
- X-Mailgun-Key-Id:
1105
- - 4b98b89f-5fc6f003
1106
- X-Xss-Protection:
1107
- - 1; mode=block
1108
- body:
1109
- encoding: UTF-8
1110
- string: '{"message":"Domain DKIM authority has been changed","sending_dns_records":[{"is_active":true,"cached":["v=spf1
1111
- include:mailgun.org ~all"],"name":"DOMAIN.TEST","record_type":"TXT","valid":"valid","value":"v=spf1
1112
- include:mailgun.org ~all"},{"is_active":true,"cached":["mailgun.org"],"name":"email.DOMAIN.TEST","record_type":"CNAME","valid":"valid","value":"mailgun.org"}],"changed":true}
1113
-
1114
- '
1115
- http_version:
1116
- recorded_at: Sun, 07 Jan 2024 15:14:24 GMT
1117
- - request:
1118
- method: put
1119
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/dkim_selector
5
+ uri: https://api.mailgun.net/v4/domains
1120
6
  body:
1121
7
  encoding: UTF-8
1122
- string: dkim_selector=mailo1
8
+ string: name=integration-test.domain.invalid&smtp_password&spam_action=tag&wildcard=false
1123
9
  headers:
10
+ User-Agent:
11
+ - mailgun-sdk-ruby/1.3.2
1124
12
  Accept:
1125
13
  - "*/*"
1126
- User-Agent:
1127
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1128
- Content-Length:
1129
- - '20'
14
+ Authorization:
15
+ - Basic xxx
1130
16
  Content-Type:
1131
17
  - application/x-www-form-urlencoded
1132
18
  Accept-Encoding:
1133
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1134
- Host:
1135
- - api.mailgun.net
1136
- Authorization:
1137
- - Basic xxx
1138
20
  response:
1139
21
  status:
1140
22
  code: 200
@@ -1147,45 +29,42 @@ http_interactions:
1147
29
  Cache-Control:
1148
30
  - no-store
1149
31
  Content-Length:
1150
- - '44'
32
+ - '1382'
1151
33
  Content-Type:
1152
34
  - application/json; charset=utf-8
1153
35
  Date:
1154
- - Sun, 07 Jan 2024 15:21:07 GMT
36
+ - Mon, 24 Feb 2025 22:44:03 GMT
1155
37
  Strict-Transport-Security:
1156
38
  - max-age=63072000; includeSubDomains
1157
39
  X-Mailgun-Key-Id:
1158
- - 4b98b89f-5fc6f003
40
+ - c02fd0ba-d8dbad66
1159
41
  X-Xss-Protection:
1160
42
  - 1; mode=block
1161
43
  body:
1162
44
  encoding: UTF-8
1163
- string: '{"message":"Domain DKIM authority changed"}
45
+ string: '{"message":"Domain DNS records have been created","domain":{"created_at":"Mon,
46
+ 24 Feb 2025 22:44:03 GMT","id":"67bcf63306fcfd2fb4b7e056","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"tag","state":"unverified","type":"custom","use_automatic_sender_security":false,"web_prefix":"email","web_scheme":"http","wildcard":false},"receiving_dns_records":[{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxa.mailgun.org"},{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxb.mailgun.org"}],"sending_dns_records":[{"is_active":false,"cached":[],"name":"smtp._domainkey.integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"k=rsa;
47
+ p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD9rVPILouDJkj47mEjLdzLbPW2YdSujAiNLw9wZ/Y19iA1h3LTNGOC+UKqjm1lF2SYVLLf1mkpX9ZjhWEQ/MR8WAGCbzTSYOlzLFeAC2g0JO/Xk9kqqlRIJX8vv2XkAwH7mgZA+CPpWghWQLT/IAHlbPy3WSt5uXKZOd/oANzafwIDAQAB"},{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
48
+ include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
1164
49
 
1165
50
  '
1166
51
  http_version:
1167
- recorded_at: Sun, 07 Jan 2024 15:21:07 GMT
52
+ recorded_at: Mon, 24 Feb 2025 22:44:03 GMT
1168
53
  - request:
1169
- method: put
1170
- uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/web_prefix
54
+ method: get
55
+ uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid
1171
56
  body:
1172
- encoding: UTF-8
1173
- string: web_prefix=email
57
+ encoding: US-ASCII
58
+ string: ''
1174
59
  headers:
60
+ User-Agent:
61
+ - mailgun-sdk-ruby/1.3.2
1175
62
  Accept:
1176
63
  - "*/*"
1177
- User-Agent:
1178
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1179
- Content-Length:
1180
- - '16'
1181
- Content-Type:
1182
- - application/x-www-form-urlencoded
1183
- Accept-Encoding:
1184
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1185
- Host:
1186
- - api.mailgun.net
1187
64
  Authorization:
1188
65
  - Basic xxx
66
+ Accept-Encoding:
67
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1189
68
  response:
1190
69
  status:
1191
70
  code: 200
@@ -1198,41 +77,41 @@ http_interactions:
1198
77
  Cache-Control:
1199
78
  - no-store
1200
79
  Content-Length:
1201
- - '40'
80
+ - '1333'
1202
81
  Content-Type:
1203
82
  - application/json; charset=utf-8
1204
83
  Date:
1205
- - Sun, 07 Jan 2024 15:25:25 GMT
84
+ - Mon, 24 Feb 2025 22:44:04 GMT
1206
85
  Strict-Transport-Security:
1207
86
  - max-age=63072000; includeSubDomains
1208
87
  X-Mailgun-Key-Id:
1209
- - 4b98b89f-5fc6f003
88
+ - c02fd0ba-d8dbad66
1210
89
  X-Xss-Protection:
1211
90
  - 1; mode=block
1212
91
  body:
1213
92
  encoding: UTF-8
1214
- string: '{"message":"Domain web prefix updated"}
93
+ string: '{"domain":{"created_at":"Mon, 24 Feb 2025 22:44:03 GMT","id":"67bcf63306fcfd2fb4b7e056","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"tag","state":"unverified","type":"custom","use_automatic_sender_security":false,"web_prefix":"email","web_scheme":"http","wildcard":false},"receiving_dns_records":[{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxa.mailgun.org"},{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxb.mailgun.org"}],"sending_dns_records":[{"is_active":false,"cached":[],"name":"smtp._domainkey.integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"k=rsa;
94
+ p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD9rVPILouDJkj47mEjLdzLbPW2YdSujAiNLw9wZ/Y19iA1h3LTNGOC+UKqjm1lF2SYVLLf1mkpX9ZjhWEQ/MR8WAGCbzTSYOlzLFeAC2g0JO/Xk9kqqlRIJX8vv2XkAwH7mgZA+CPpWghWQLT/IAHlbPy3WSt5uXKZOd/oANzafwIDAQAB"},{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
95
+ include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
1215
96
 
1216
97
  '
1217
98
  http_version:
1218
- recorded_at: Sun, 07 Jan 2024 15:25:25 GMT
99
+ recorded_at: Mon, 24 Feb 2025 22:44:04 GMT
1219
100
  - request:
1220
101
  method: get
1221
- uri: https://api.mailgun.net/v4/domains/DOMAIN.TEST/keys
102
+ uri: https://api.mailgun.net/v4/domains
1222
103
  body:
1223
104
  encoding: US-ASCII
1224
105
  string: ''
1225
106
  headers:
107
+ User-Agent:
108
+ - mailgun-sdk-ruby/1.3.2
1226
109
  Accept:
1227
110
  - "*/*"
1228
- User-Agent:
1229
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1230
- Accept-Encoding:
1231
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1232
- Host:
1233
- - api.mailgun.net
1234
111
  Authorization:
1235
112
  - Basic xxx
113
+ Accept-Encoding:
114
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1236
115
  response:
1237
116
  status:
1238
117
  code: 200
@@ -1245,45 +124,43 @@ http_interactions:
1245
124
  Cache-Control:
1246
125
  - no-store
1247
126
  Content-Length:
1248
- - '444'
127
+ - '864'
1249
128
  Content-Type:
1250
129
  - application/json; charset=utf-8
1251
130
  Date:
1252
- - Sun, 07 Jan 2024 15:34:00 GMT
131
+ - Mon, 24 Feb 2025 22:44:05 GMT
1253
132
  Strict-Transport-Security:
1254
133
  - max-age=63072000; includeSubDomains
1255
134
  X-Mailgun-Key-Id:
1256
- - 4b98b89f-5fc6f003
135
+ - c02fd0ba-d8dbad66
1257
136
  X-Xss-Protection:
1258
137
  - 1; mode=block
1259
138
  body:
1260
139
  encoding: UTF-8
1261
- string: '{"items":[{"signing_domain":"DOMAIN.TEST","selector":"mailo1","dns_record":{"is_active":true,"cached":[],"name":"mailo1._domainkey.DOMAIN.TEST","record_type":"TXT","valid":"unknown","value":""}}]}
140
+ string: '{"total_count":2,"items":[{"created_at":"Mon, 24 Feb 2025 22:44:03
141
+ GMT","id":"67bcf63306fcfd2fb4b7e056","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"tag","state":"unverified","type":"custom","use_automatic_sender_security":false,"web_prefix":"email","web_scheme":"http","wildcard":false},{"created_at":"Wed,
142
+ 27 Nov 2024 11:44:11 GMT","id":"6747060bb7a2b281f7ca1f6c","is_disabled":false,"name":"sandbox61429c204b744e7fbbb7375ac93ad3d7.mailgun.org","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@sandbox61429c204b744e7fbbb7375ac93ad3d7.mailgun.org","spam_action":"disabled","state":"active","type":"sandbox","use_automatic_sender_security":false,"web_prefix":"email","web_scheme":"http","wildcard":false}]}
1262
143
 
1263
144
  '
1264
145
  http_version:
1265
- recorded_at: Sun, 07 Jan 2024 15:34:00 GMT
146
+ recorded_at: Mon, 24 Feb 2025 22:44:05 GMT
1266
147
  - request:
1267
148
  method: put
1268
- uri: https://api.mailgun.net/v4/domains/DOMAIN.TEST/keys/smtp/activate
149
+ uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid
1269
150
  body:
1270
- encoding: US-ASCII
1271
- string: ''
151
+ encoding: UTF-8
152
+ string: spam_action=block&web_scheme=https&wildcard=true
1272
153
  headers:
154
+ User-Agent:
155
+ - mailgun-sdk-ruby/1.3.2
1273
156
  Accept:
1274
157
  - "*/*"
1275
- User-Agent:
1276
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1277
- Content-Length:
1278
- - '0'
158
+ Authorization:
159
+ - Basic xxx
1279
160
  Content-Type:
1280
161
  - application/x-www-form-urlencoded
1281
162
  Accept-Encoding:
1282
163
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1283
- Host:
1284
- - api.mailgun.net
1285
- Authorization:
1286
- - Basic xxx
1287
164
  response:
1288
165
  status:
1289
166
  code: 200
@@ -1296,45 +173,44 @@ http_interactions:
1296
173
  Cache-Control:
1297
174
  - no-store
1298
175
  Content-Length:
1299
- - '101'
176
+ - '1371'
1300
177
  Content-Type:
1301
178
  - application/json; charset=utf-8
1302
179
  Date:
1303
- - Sun, 07 Jan 2024 15:51:10 GMT
180
+ - Mon, 24 Feb 2025 22:44:05 GMT
1304
181
  Strict-Transport-Security:
1305
182
  - max-age=63072000; includeSubDomains
1306
183
  X-Mailgun-Key-Id:
1307
- - 4b98b89f-5fc6f003
184
+ - c02fd0ba-d8dbad66
1308
185
  X-Xss-Protection:
1309
186
  - 1; mode=block
1310
187
  body:
1311
188
  encoding: UTF-8
1312
- string: '{"message":"domain key activated","authority":"DOMAIN.TEST","selector":"smtp","active":true}
189
+ string: '{"message":"Domain has been updated","domain":{"created_at":"Mon, 24
190
+ Feb 2025 22:44:03 GMT","id":"67bcf63306fcfd2fb4b7e056","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"block","state":"unverified","type":"custom","use_automatic_sender_security":false,"web_prefix":"email","web_scheme":"https","wildcard":true},"receiving_dns_records":[{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxa.mailgun.org"},{"is_active":true,"cached":[],"priority":"10","record_type":"MX","valid":"unknown","value":"mxb.mailgun.org"}],"sending_dns_records":[{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
191
+ include:mailgun.org ~all"},{"is_active":false,"cached":[],"name":"smtp._domainkey.integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"k=rsa;
192
+ p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD9rVPILouDJkj47mEjLdzLbPW2YdSujAiNLw9wZ/Y19iA1h3LTNGOC+UKqjm1lF2SYVLLf1mkpX9ZjhWEQ/MR8WAGCbzTSYOlzLFeAC2g0JO/Xk9kqqlRIJX8vv2XkAwH7mgZA+CPpWghWQLT/IAHlbPy3WSt5uXKZOd/oANzafwIDAQAB"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
1313
193
 
1314
194
  '
1315
195
  http_version:
1316
- recorded_at: Sun, 07 Jan 2024 15:51:11 GMT
196
+ recorded_at: Mon, 24 Feb 2025 22:44:05 GMT
1317
197
  - request:
1318
- method: put
1319
- uri: https://api.mailgun.net/v4/domains/DOMAIN.TEST/keys/smtp/deactivate
198
+ method: post
199
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials
1320
200
  body:
1321
- encoding: US-ASCII
1322
- string: ''
201
+ encoding: UTF-8
202
+ string: login=test_login
1323
203
  headers:
204
+ User-Agent:
205
+ - mailgun-sdk-ruby/1.3.2
1324
206
  Accept:
1325
207
  - "*/*"
1326
- User-Agent:
1327
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1328
- Content-Length:
1329
- - '0'
208
+ Authorization:
209
+ - Basic xxx
1330
210
  Content-Type:
1331
211
  - application/x-www-form-urlencoded
1332
212
  Accept-Encoding:
1333
213
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1334
- Host:
1335
- - api.mailgun.net
1336
- Authorization:
1337
- - Basic xxx
1338
214
  response:
1339
215
  status:
1340
216
  code: 200
@@ -1347,41 +223,42 @@ http_interactions:
1347
223
  Cache-Control:
1348
224
  - no-store
1349
225
  Content-Length:
1350
- - '101'
226
+ - '243'
1351
227
  Content-Type:
1352
228
  - application/json; charset=utf-8
1353
229
  Date:
1354
- - Sun, 07 Jan 2024 15:51:10 GMT
230
+ - Mon, 24 Feb 2025 22:44:06 GMT
1355
231
  Strict-Transport-Security:
1356
232
  - max-age=63072000; includeSubDomains
1357
233
  X-Mailgun-Key-Id:
1358
- - 4b98b89f-5fc6f003
234
+ - c02fd0ba-d8dbad66
1359
235
  X-Xss-Protection:
1360
236
  - 1; mode=block
1361
237
  body:
1362
238
  encoding: UTF-8
1363
- string: '{"message":"domain key deactivated","authority":"DOMAIN.TEST","selector":"smtp","active":false}
239
+ string: '{"message":"Created 1 credentials pair(s)","note":"Please store your
240
+ new password(s) now. You won''t be able to see it anymore.","credentials":{"test_login@integration-test.domain.invalid":"5859b4b37276175a5f43c00fa9c94028-3af52e3b-046db944"}}
1364
241
 
1365
242
  '
1366
243
  http_version:
1367
- recorded_at: Sun, 07 Jan 2024 15:51:19 GMT
244
+ recorded_at: Mon, 24 Feb 2025 22:44:06 GMT
1368
245
  - request:
1369
- method: delete
1370
- uri: https://api.mailgun.net/v1/dkim/keys?selector=test&signing_domain=DOMAIN.TEST
246
+ method: put
247
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
1371
248
  body:
1372
- encoding: US-ASCII
1373
- string: ''
249
+ encoding: UTF-8
250
+ string: spec=abc
1374
251
  headers:
252
+ User-Agent:
253
+ - mailgun-sdk-ruby/1.3.2
1375
254
  Accept:
1376
255
  - "*/*"
1377
- User-Agent:
1378
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1379
- Accept-Encoding:
1380
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1381
- Host:
1382
- - api.mailgun.net
1383
256
  Authorization:
1384
257
  - Basic xxx
258
+ Content-Type:
259
+ - application/x-www-form-urlencoded
260
+ Accept-Encoding:
261
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1385
262
  response:
1386
263
  status:
1387
264
  code: 200
@@ -1394,41 +271,40 @@ http_interactions:
1394
271
  Cache-Control:
1395
272
  - no-store
1396
273
  Content-Length:
1397
- - '22'
274
+ - '230'
1398
275
  Content-Type:
1399
276
  - application/json; charset=utf-8
1400
277
  Date:
1401
- - Wed, 10 Jan 2024 14:13:34 GMT
278
+ - Mon, 24 Feb 2025 22:44:06 GMT
1402
279
  Strict-Transport-Security:
1403
280
  - max-age=63072000; includeSubDomains
1404
281
  X-Mailgun-Key-Id:
1405
- - 4b98b89f-5fc6f003
282
+ - c02fd0ba-d8dbad66
1406
283
  X-Xss-Protection:
1407
284
  - 1; mode=block
1408
285
  body:
1409
286
  encoding: UTF-8
1410
- string: '{"message":"success"}
287
+ string: '{"message":"Password changed","note":"Please store your new password(s)
288
+ now. You won''t be able to see it anymore.","credentials":{"test_login@integration-test.domain.invalid":"06cd2f97e409d2fc564ffa6cd835d620-3af52e3b-282ac1b9"}}
1411
289
 
1412
290
  '
1413
291
  http_version:
1414
- recorded_at: Wed, 10 Jan 2024 14:13:34 GMT
292
+ recorded_at: Mon, 24 Feb 2025 22:44:06 GMT
1415
293
  - request:
1416
- method: get
1417
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/stats/total?duration=24h&event=clicked&start=Sun,%2023%20Dec%202023%2001:23:45%20JST
294
+ method: delete
295
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
1418
296
  body:
1419
297
  encoding: US-ASCII
1420
298
  string: ''
1421
299
  headers:
300
+ User-Agent:
301
+ - mailgun-sdk-ruby/1.3.2
1422
302
  Accept:
1423
303
  - "*/*"
1424
- User-Agent:
1425
- - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1426
- Accept-Encoding:
1427
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1428
- Host:
1429
- - api.mailgun.net
1430
304
  Authorization:
1431
305
  - Basic xxx
306
+ Accept-Encoding:
307
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1432
308
  response:
1433
309
  status:
1434
310
  code: 200
@@ -1441,60 +317,43 @@ http_interactions:
1441
317
  Cache-Control:
1442
318
  - no-store
1443
319
  Content-Length:
1444
- - '1639'
320
+ - '96'
1445
321
  Content-Type:
1446
322
  - application/json; charset=utf-8
1447
323
  Date:
1448
- - Wed, 10 Jan 2024 14:40:48 GMT
324
+ - Mon, 24 Feb 2025 22:44:07 GMT
1449
325
  Strict-Transport-Security:
1450
326
  - max-age=63072000; includeSubDomains
327
+ X-Mailgun-Key-Id:
328
+ - c02fd0ba-d8dbad66
1451
329
  X-Xss-Protection:
1452
330
  - 1; mode=block
1453
331
  body:
1454
332
  encoding: UTF-8
1455
- string: '{"description":"","start":"Tue, 09 Jan 2024 15:00:00 UTC","end":"Wed,
1456
- 10 Jan 2024 14:00:00 UTC","resolution":"hour","stats":[{"time":"Tue, 09 Jan
1457
- 2024 15:00:00 UTC","clicked":{"total":0}},{"time":"Tue, 09 Jan 2024 16:00:00
1458
- UTC","clicked":{"total":0}},{"time":"Tue, 09 Jan 2024 17:00:00 UTC","clicked":{"total":0}},{"time":"Tue,
1459
- 09 Jan 2024 18:00:00 UTC","clicked":{"total":0}},{"time":"Tue, 09 Jan 2024
1460
- 19:00:00 UTC","clicked":{"total":0}},{"time":"Tue, 09 Jan 2024 20:00:00 UTC","clicked":{"total":0}},{"time":"Tue,
1461
- 09 Jan 2024 21:00:00 UTC","clicked":{"total":0}},{"time":"Tue, 09 Jan 2024
1462
- 22:00:00 UTC","clicked":{"total":0}},{"time":"Tue, 09 Jan 2024 23:00:00 UTC","clicked":{"total":0}},{"time":"Wed,
1463
- 10 Jan 2024 00:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024
1464
- 01:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024 02:00:00 UTC","clicked":{"total":0}},{"time":"Wed,
1465
- 10 Jan 2024 03:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024
1466
- 04:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024 05:00:00 UTC","clicked":{"total":0}},{"time":"Wed,
1467
- 10 Jan 2024 06:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024
1468
- 07:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024 08:00:00 UTC","clicked":{"total":0}},{"time":"Wed,
1469
- 10 Jan 2024 09:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024
1470
- 10:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024 11:00:00 UTC","clicked":{"total":0}},{"time":"Wed,
1471
- 10 Jan 2024 12:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024
1472
- 13:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024 14:00:00 UTC","clicked":{"total":0}}]}
333
+ string: '{"message":"Credentials have been deleted","spec":"test_login@integration-test.domain.invalid"}
1473
334
 
1474
335
  '
1475
336
  http_version:
1476
- recorded_at: Wed, 10 Jan 2024 14:40:47 GMT
337
+ recorded_at: Mon, 24 Feb 2025 22:44:07 GMT
1477
338
  - request:
1478
- method: post
1479
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials
339
+ method: get
340
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
1480
341
  body:
1481
- encoding: UTF-8
1482
- string: login=test_login&password=test_password
342
+ encoding: US-ASCII
343
+ string: ''
1483
344
  headers:
1484
345
  User-Agent:
1485
- - mailgun-sdk-ruby/1.3.0
346
+ - mailgun-sdk-ruby/1.3.2
1486
347
  Accept:
1487
348
  - "*/*"
1488
349
  Authorization:
1489
- - Basic xxx==
1490
- Content-Type:
1491
- - application/x-www-form-urlencoded
350
+ - Basic xxx
1492
351
  Accept-Encoding:
1493
352
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1494
353
  response:
1495
354
  status:
1496
- code: 404
1497
- message: Not Found
355
+ code: 200
356
+ message: OK
1498
357
  headers:
1499
358
  Access-Control-Allow-Credentials:
1500
359
  - 'true'
@@ -1503,86 +362,45 @@ http_interactions:
1503
362
  Cache-Control:
1504
363
  - no-store
1505
364
  Content-Length:
1506
- - '31'
365
+ - '48'
1507
366
  Content-Type:
1508
367
  - application/json; charset=utf-8
1509
368
  Date:
1510
- - Sun, 26 Jan 2025 07:29:09 GMT
369
+ - Mon, 24 Feb 2025 22:44:07 GMT
1511
370
  Strict-Transport-Security:
1512
371
  - max-age=63072000; includeSubDomains
372
+ X-Mailgun-Key-Id:
373
+ - c02fd0ba-d8dbad66
1513
374
  X-Xss-Protection:
1514
375
  - 1; mode=block
1515
376
  body:
1516
377
  encoding: UTF-8
1517
- string: '{"message":"domain not found"}
378
+ string: '{"require_tls":false,"skip_verification":false}
1518
379
 
1519
380
  '
1520
381
  http_version:
1521
- recorded_at: Sun, 26 Jan 2025 07:29:09 GMT
382
+ recorded_at: Mon, 24 Feb 2025 22:44:07 GMT
1522
383
  - request:
1523
384
  method: put
1524
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
385
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
1525
386
  body:
1526
387
  encoding: UTF-8
1527
- string: password=test_password2
388
+ string: require_tls=true&skip_verification=true
1528
389
  headers:
1529
390
  User-Agent:
1530
- - mailgun-sdk-ruby/1.3.0
391
+ - mailgun-sdk-ruby/1.3.2
1531
392
  Accept:
1532
393
  - "*/*"
1533
394
  Authorization:
1534
- - Basic xxx==
395
+ - Basic xxx
1535
396
  Content-Type:
1536
397
  - application/x-www-form-urlencoded
1537
398
  Accept-Encoding:
1538
399
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1539
400
  response:
1540
401
  status:
1541
- code: 404
1542
- message: Not Found
1543
- headers:
1544
- Access-Control-Allow-Credentials:
1545
- - 'true'
1546
- Access-Control-Allow-Origin:
1547
- - "*"
1548
- Cache-Control:
1549
- - no-store
1550
- Content-Length:
1551
- - '31'
1552
- Content-Type:
1553
- - application/json; charset=utf-8
1554
- Date:
1555
- - Sun, 26 Jan 2025 07:29:09 GMT
1556
- Strict-Transport-Security:
1557
- - max-age=63072000; includeSubDomains
1558
- X-Xss-Protection:
1559
- - 1; mode=block
1560
- body:
1561
- encoding: UTF-8
1562
- string: '{"message":"domain not found"}
1563
-
1564
- '
1565
- http_version:
1566
- recorded_at: Sun, 26 Jan 2025 07:29:09 GMT
1567
- - request:
1568
- method: delete
1569
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
1570
- body:
1571
- encoding: US-ASCII
1572
- string: ''
1573
- headers:
1574
- User-Agent:
1575
- - mailgun-sdk-ruby/1.3.0
1576
- Accept:
1577
- - "*/*"
1578
- Authorization:
1579
- - Basic xxx==
1580
- Accept-Encoding:
1581
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1582
- response:
1583
- status:
1584
- code: 404
1585
- message: Not Found
402
+ code: 200
403
+ message: OK
1586
404
  headers:
1587
405
  Access-Control-Allow-Credentials:
1588
406
  - 'true'
@@ -1591,41 +409,44 @@ http_interactions:
1591
409
  Cache-Control:
1592
410
  - no-store
1593
411
  Content-Length:
1594
- - '31'
412
+ - '143'
1595
413
  Content-Type:
1596
414
  - application/json; charset=utf-8
1597
415
  Date:
1598
- - Sun, 26 Jan 2025 07:29:10 GMT
416
+ - Mon, 24 Feb 2025 22:44:08 GMT
1599
417
  Strict-Transport-Security:
1600
418
  - max-age=63072000; includeSubDomains
419
+ X-Mailgun-Key-Id:
420
+ - c02fd0ba-d8dbad66
1601
421
  X-Xss-Protection:
1602
422
  - 1; mode=block
1603
423
  body:
1604
424
  encoding: UTF-8
1605
- string: '{"message":"domain not found"}
425
+ string: '{"message":"Domain connection settings have been updated, may take
426
+ 10 minutes to fully propagate","require_tls":true,"skip_verification":true}
1606
427
 
1607
428
  '
1608
429
  http_version:
1609
- recorded_at: Sun, 26 Jan 2025 07:29:10 GMT
430
+ recorded_at: Mon, 24 Feb 2025 22:44:08 GMT
1610
431
  - request:
1611
432
  method: get
1612
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
433
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking
1613
434
  body:
1614
435
  encoding: US-ASCII
1615
436
  string: ''
1616
437
  headers:
1617
438
  User-Agent:
1618
- - mailgun-sdk-ruby/1.3.0
439
+ - mailgun-sdk-ruby/1.3.2
1619
440
  Accept:
1620
441
  - "*/*"
1621
442
  Authorization:
1622
- - Basic xxx==
443
+ - Basic xxx
1623
444
  Accept-Encoding:
1624
445
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1625
446
  response:
1626
447
  status:
1627
- code: 404
1628
- message: Not Found
448
+ code: 200
449
+ message: OK
1629
450
  headers:
1630
451
  Access-Control-Allow-Credentials:
1631
452
  - 'true'
@@ -1634,45 +455,47 @@ http_interactions:
1634
455
  Cache-Control:
1635
456
  - no-store
1636
457
  Content-Length:
1637
- - '31'
458
+ - '286'
1638
459
  Content-Type:
1639
460
  - application/json; charset=utf-8
1640
461
  Date:
1641
- - Sun, 26 Jan 2025 07:29:11 GMT
462
+ - Mon, 24 Feb 2025 22:44:08 GMT
1642
463
  Strict-Transport-Security:
1643
464
  - max-age=63072000; includeSubDomains
1644
465
  X-Mailgun-Key-Id:
1645
- - 90b59dea-f2d12a53
466
+ - c02fd0ba-d8dbad66
1646
467
  X-Xss-Protection:
1647
468
  - 1; mode=block
1648
469
  body:
1649
470
  encoding: UTF-8
1650
- string: '{"message":"Domain not found"}
471
+ string: '{"tracking":{"open":{"active":false,"place_at_the_top":false},"click":{"active":false},"unsubscribe":{"active":false,"html_footer":"\n<br>\n<p><a
472
+ href=\"%unsubscribe_url%\">unsubscribe</a></p>\n","text_footer":"\n\nTo unsubscribe
473
+ click: <%unsubscribe_url%>\n\n"},"web_scheme":"https"}}
1651
474
 
1652
475
  '
1653
476
  http_version:
1654
- recorded_at: Sun, 26 Jan 2025 07:29:11 GMT
477
+ recorded_at: Mon, 24 Feb 2025 22:44:08 GMT
1655
478
  - request:
1656
479
  method: put
1657
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
480
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/open
1658
481
  body:
1659
482
  encoding: UTF-8
1660
- string: require_tls=true&skip_verification=true
483
+ string: active=false
1661
484
  headers:
1662
485
  User-Agent:
1663
- - mailgun-sdk-ruby/1.3.0
486
+ - mailgun-sdk-ruby/1.3.2
1664
487
  Accept:
1665
488
  - "*/*"
1666
489
  Authorization:
1667
- - Basic xxx==
490
+ - Basic xxx
1668
491
  Content-Type:
1669
492
  - application/x-www-form-urlencoded
1670
493
  Accept-Encoding:
1671
494
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1672
495
  response:
1673
496
  status:
1674
- code: 404
1675
- message: Not Found
497
+ code: 200
498
+ message: OK
1676
499
  headers:
1677
500
  Access-Control-Allow-Credentials:
1678
501
  - 'true'
@@ -1681,43 +504,45 @@ http_interactions:
1681
504
  Cache-Control:
1682
505
  - no-store
1683
506
  Content-Length:
1684
- - '31'
507
+ - '106'
1685
508
  Content-Type:
1686
509
  - application/json; charset=utf-8
1687
510
  Date:
1688
- - Sun, 26 Jan 2025 07:29:11 GMT
511
+ - Mon, 24 Feb 2025 22:44:09 GMT
1689
512
  Strict-Transport-Security:
1690
513
  - max-age=63072000; includeSubDomains
1691
514
  X-Mailgun-Key-Id:
1692
- - 90b59dea-f2d12a53
515
+ - c02fd0ba-d8dbad66
1693
516
  X-Xss-Protection:
1694
517
  - 1; mode=block
1695
518
  body:
1696
519
  encoding: UTF-8
1697
- string: '{"message":"Domain not found"}
520
+ string: '{"message":"Domain tracking settings have been updated","open":{"active":false,"place_at_the_top":false}}
1698
521
 
1699
522
  '
1700
523
  http_version:
1701
- recorded_at: Sun, 26 Jan 2025 07:29:11 GMT
524
+ recorded_at: Mon, 24 Feb 2025 22:44:09 GMT
1702
525
  - request:
1703
- method: get
1704
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking
526
+ method: put
527
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/click
1705
528
  body:
1706
- encoding: US-ASCII
1707
- string: ''
529
+ encoding: UTF-8
530
+ string: active=false
1708
531
  headers:
1709
532
  User-Agent:
1710
- - mailgun-sdk-ruby/1.3.0
533
+ - mailgun-sdk-ruby/1.3.2
1711
534
  Accept:
1712
535
  - "*/*"
1713
536
  Authorization:
1714
- - Basic xxx==
537
+ - Basic xxx
538
+ Content-Type:
539
+ - application/x-www-form-urlencoded
1715
540
  Accept-Encoding:
1716
541
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1717
542
  response:
1718
543
  status:
1719
- code: 404
1720
- message: Not Found
544
+ code: 200
545
+ message: OK
1721
546
  headers:
1722
547
  Access-Control-Allow-Credentials:
1723
548
  - 'true'
@@ -1726,45 +551,45 @@ http_interactions:
1726
551
  Cache-Control:
1727
552
  - no-store
1728
553
  Content-Length:
1729
- - '31'
554
+ - '82'
1730
555
  Content-Type:
1731
556
  - application/json; charset=utf-8
1732
557
  Date:
1733
- - Sun, 26 Jan 2025 07:29:12 GMT
558
+ - Mon, 24 Feb 2025 22:44:09 GMT
1734
559
  Strict-Transport-Security:
1735
560
  - max-age=63072000; includeSubDomains
1736
561
  X-Mailgun-Key-Id:
1737
- - 90b59dea-f2d12a53
562
+ - c02fd0ba-d8dbad66
1738
563
  X-Xss-Protection:
1739
564
  - 1; mode=block
1740
565
  body:
1741
566
  encoding: UTF-8
1742
- string: '{"message":"Domain not found"}
567
+ string: '{"message":"Domain tracking settings have been updated","click":{"active":false}}
1743
568
 
1744
569
  '
1745
570
  http_version:
1746
- recorded_at: Sun, 26 Jan 2025 07:29:12 GMT
571
+ recorded_at: Mon, 24 Feb 2025 22:44:09 GMT
1747
572
  - request:
1748
573
  method: put
1749
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/open
574
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/unsubscribe
1750
575
  body:
1751
576
  encoding: UTF-8
1752
577
  string: active=false
1753
578
  headers:
1754
579
  User-Agent:
1755
- - mailgun-sdk-ruby/1.3.0
580
+ - mailgun-sdk-ruby/1.3.2
1756
581
  Accept:
1757
582
  - "*/*"
1758
583
  Authorization:
1759
- - Basic xxx==
584
+ - Basic xxx
1760
585
  Content-Type:
1761
586
  - application/x-www-form-urlencoded
1762
587
  Accept-Encoding:
1763
588
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1764
589
  response:
1765
590
  status:
1766
- code: 404
1767
- message: Not Found
591
+ code: 200
592
+ message: OK
1768
593
  headers:
1769
594
  Access-Control-Allow-Credentials:
1770
595
  - 'true'
@@ -1773,45 +598,47 @@ http_interactions:
1773
598
  Cache-Control:
1774
599
  - no-store
1775
600
  Content-Length:
1776
- - '31'
601
+ - '233'
1777
602
  Content-Type:
1778
603
  - application/json; charset=utf-8
1779
604
  Date:
1780
- - Sun, 26 Jan 2025 07:29:12 GMT
605
+ - Mon, 24 Feb 2025 22:44:10 GMT
1781
606
  Strict-Transport-Security:
1782
607
  - max-age=63072000; includeSubDomains
1783
608
  X-Mailgun-Key-Id:
1784
- - 90b59dea-f2d12a53
609
+ - c02fd0ba-d8dbad66
1785
610
  X-Xss-Protection:
1786
611
  - 1; mode=block
1787
612
  body:
1788
613
  encoding: UTF-8
1789
- string: '{"message":"Domain not found"}
614
+ string: '{"message":"Domain tracking settings have been updated","unsubscribe":{"active":false,"html_footer":"\n<br>\n<p><a
615
+ href=\"%unsubscribe_url%\">unsubscribe</a></p>\n","text_footer":"\n\nTo unsubscribe
616
+ click: <%unsubscribe_url%>\n\n"}}
1790
617
 
1791
618
  '
1792
619
  http_version:
1793
- recorded_at: Sun, 26 Jan 2025 07:29:12 GMT
620
+ recorded_at: Mon, 24 Feb 2025 22:44:10 GMT
1794
621
  - request:
1795
622
  method: put
1796
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/click
623
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_authority
1797
624
  body:
1798
625
  encoding: UTF-8
1799
- string: active=false
626
+ string: self=true
1800
627
  headers:
1801
628
  User-Agent:
1802
- - mailgun-sdk-ruby/1.3.0
629
+ - mailgun-sdk-ruby/1.3.2
1803
630
  Accept:
1804
631
  - "*/*"
1805
632
  Authorization:
1806
- - Basic xxx==
633
+ - Basic xxx
1807
634
  Content-Type:
1808
635
  - application/x-www-form-urlencoded
1809
636
  Accept-Encoding:
1810
637
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1811
638
  response:
1812
639
  status:
1813
- code: 404
1814
- message: Not Found
640
+ code: 200
641
+ message: OK
1815
642
  headers:
1816
643
  Access-Control-Allow-Credentials:
1817
644
  - 'true'
@@ -1820,45 +647,47 @@ http_interactions:
1820
647
  Cache-Control:
1821
648
  - no-store
1822
649
  Content-Length:
1823
- - '31'
650
+ - '752'
1824
651
  Content-Type:
1825
652
  - application/json; charset=utf-8
1826
653
  Date:
1827
- - Sun, 26 Jan 2025 07:29:13 GMT
654
+ - Mon, 24 Feb 2025 22:44:11 GMT
1828
655
  Strict-Transport-Security:
1829
656
  - max-age=63072000; includeSubDomains
1830
657
  X-Mailgun-Key-Id:
1831
- - 90b59dea-f2d12a53
658
+ - c02fd0ba-d8dbad66
1832
659
  X-Xss-Protection:
1833
660
  - 1; mode=block
1834
661
  body:
1835
662
  encoding: UTF-8
1836
- string: '{"message":"Domain not found"}
663
+ string: '{"message":"Domain DKIM authority has not been changed","sending_dns_records":[{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
664
+ include:mailgun.org ~all"},{"is_active":false,"cached":[],"name":"smtp._domainkey.integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"k=rsa;
665
+ p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD9rVPILouDJkj47mEjLdzLbPW2YdSujAiNLw9wZ/Y19iA1h3LTNGOC+UKqjm1lF2SYVLLf1mkpX9ZjhWEQ/MR8WAGCbzTSYOlzLFeAC2g0JO/Xk9kqqlRIJX8vv2XkAwH7mgZA+CPpWghWQLT/IAHlbPy3WSt5uXKZOd/oANzafwIDAQAB"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}],"changed":false}
1837
666
 
1838
667
  '
1839
668
  http_version:
1840
- recorded_at: Sun, 26 Jan 2025 07:29:13 GMT
669
+ recorded_at: Mon, 24 Feb 2025 22:44:11 GMT
1841
670
  - request:
1842
671
  method: put
1843
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/unsubscribe
672
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_selector
1844
673
  body:
1845
674
  encoding: UTF-8
1846
- string: active=false
675
+ string: dkim_selector=mailo1
1847
676
  headers:
1848
677
  User-Agent:
1849
- - mailgun-sdk-ruby/1.3.0
678
+ - mailgun-sdk-ruby/1.3.2
1850
679
  Accept:
1851
680
  - "*/*"
1852
681
  Authorization:
1853
- - Basic xxx==
682
+ - Basic xxx
1854
683
  Content-Type:
1855
684
  - application/x-www-form-urlencoded
1856
685
  Accept-Encoding:
1857
686
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1858
687
  response:
1859
688
  status:
1860
- code: 404
1861
- message: Not Found
689
+ code: 200
690
+ message: OK
1862
691
  headers:
1863
692
  Access-Control-Allow-Credentials:
1864
693
  - 'true'
@@ -1867,45 +696,45 @@ http_interactions:
1867
696
  Cache-Control:
1868
697
  - no-store
1869
698
  Content-Length:
1870
- - '31'
699
+ - '36'
1871
700
  Content-Type:
1872
701
  - application/json; charset=utf-8
1873
702
  Date:
1874
- - Sun, 26 Jan 2025 07:29:14 GMT
703
+ - Mon, 24 Feb 2025 22:44:11 GMT
1875
704
  Strict-Transport-Security:
1876
705
  - max-age=63072000; includeSubDomains
1877
706
  X-Mailgun-Key-Id:
1878
- - 90b59dea-f2d12a53
707
+ - c02fd0ba-d8dbad66
1879
708
  X-Xss-Protection:
1880
709
  - 1; mode=block
1881
710
  body:
1882
711
  encoding: UTF-8
1883
- string: '{"message":"Domain not found"}
712
+ string: '{"message":"DKIM selector changed"}
1884
713
 
1885
714
  '
1886
715
  http_version:
1887
- recorded_at: Sun, 26 Jan 2025 07:29:14 GMT
716
+ recorded_at: Mon, 24 Feb 2025 22:44:11 GMT
1888
717
  - request:
1889
718
  method: put
1890
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_authority
719
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/web_prefix
1891
720
  body:
1892
721
  encoding: UTF-8
1893
- string: active=false
722
+ string: web_prefix=email
1894
723
  headers:
1895
724
  User-Agent:
1896
- - mailgun-sdk-ruby/1.3.0
725
+ - mailgun-sdk-ruby/1.3.2
1897
726
  Accept:
1898
727
  - "*/*"
1899
728
  Authorization:
1900
- - Basic xxx==
729
+ - Basic xxx
1901
730
  Content-Type:
1902
731
  - application/x-www-form-urlencoded
1903
732
  Accept-Encoding:
1904
733
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1905
734
  response:
1906
735
  status:
1907
- code: 404
1908
- message: Not Found
736
+ code: 200
737
+ message: OK
1909
738
  headers:
1910
739
  Access-Control-Allow-Credentials:
1911
740
  - 'true'
@@ -1914,45 +743,43 @@ http_interactions:
1914
743
  Cache-Control:
1915
744
  - no-store
1916
745
  Content-Length:
1917
- - '31'
746
+ - '40'
1918
747
  Content-Type:
1919
748
  - application/json; charset=utf-8
1920
749
  Date:
1921
- - Sun, 26 Jan 2025 07:29:14 GMT
750
+ - Mon, 24 Feb 2025 22:44:12 GMT
1922
751
  Strict-Transport-Security:
1923
752
  - max-age=63072000; includeSubDomains
1924
753
  X-Mailgun-Key-Id:
1925
- - 90b59dea-f2d12a53
754
+ - c02fd0ba-d8dbad66
1926
755
  X-Xss-Protection:
1927
756
  - 1; mode=block
1928
757
  body:
1929
758
  encoding: UTF-8
1930
- string: '{"message":"Domain not found"}
759
+ string: '{"message":"Domain web prefix updated"}
1931
760
 
1932
761
  '
1933
762
  http_version:
1934
- recorded_at: Sun, 26 Jan 2025 07:29:14 GMT
763
+ recorded_at: Mon, 24 Feb 2025 22:44:12 GMT
1935
764
  - request:
1936
- method: put
1937
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_selector
765
+ method: get
766
+ uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys
1938
767
  body:
1939
- encoding: UTF-8
1940
- string: dkim_selector=mailo1
768
+ encoding: US-ASCII
769
+ string: ''
1941
770
  headers:
1942
771
  User-Agent:
1943
- - mailgun-sdk-ruby/1.3.0
772
+ - mailgun-sdk-ruby/1.3.2
1944
773
  Accept:
1945
774
  - "*/*"
1946
775
  Authorization:
1947
- - Basic xxx==
1948
- Content-Type:
1949
- - application/x-www-form-urlencoded
776
+ - Basic xxx
1950
777
  Accept-Encoding:
1951
778
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1952
779
  response:
1953
780
  status:
1954
- code: 404
1955
- message: Not Found
781
+ code: 200
782
+ message: OK
1956
783
  headers:
1957
784
  Access-Control-Allow-Credentials:
1958
785
  - 'true'
@@ -1961,45 +788,46 @@ http_interactions:
1961
788
  Cache-Control:
1962
789
  - no-store
1963
790
  Content-Length:
1964
- - '31'
791
+ - '463'
1965
792
  Content-Type:
1966
793
  - application/json; charset=utf-8
1967
794
  Date:
1968
- - Sun, 26 Jan 2025 07:29:15 GMT
795
+ - Mon, 24 Feb 2025 22:44:12 GMT
1969
796
  Strict-Transport-Security:
1970
797
  - max-age=63072000; includeSubDomains
1971
798
  X-Mailgun-Key-Id:
1972
- - 90b59dea-f2d12a53
799
+ - c02fd0ba-d8dbad66
1973
800
  X-Xss-Protection:
1974
801
  - 1; mode=block
1975
802
  body:
1976
803
  encoding: UTF-8
1977
- string: '{"message":"Domain not found"}
804
+ string: '{"items":[{"signing_domain":"integration-test.domain.invalid","selector":"mailo1","dns_record":{"is_active":false,"cached":[],"name":"mailo1._domainkey.integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"k=rsa;
805
+ p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD9rVPILouDJkj47mEjLdzLbPW2YdSujAiNLw9wZ/Y19iA1h3LTNGOC+UKqjm1lF2SYVLLf1mkpX9ZjhWEQ/MR8WAGCbzTSYOlzLFeAC2g0JO/Xk9kqqlRIJX8vv2XkAwH7mgZA+CPpWghWQLT/IAHlbPy3WSt5uXKZOd/oANzafwIDAQAB"}}]}
1978
806
 
1979
807
  '
1980
808
  http_version:
1981
- recorded_at: Sun, 26 Jan 2025 07:29:15 GMT
809
+ recorded_at: Mon, 24 Feb 2025 22:44:12 GMT
1982
810
  - request:
1983
811
  method: put
1984
- uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/web_prefix
812
+ uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys/mailo1/activate
1985
813
  body:
1986
814
  encoding: UTF-8
1987
- string: web_prefix=email
815
+ string: ''
1988
816
  headers:
1989
817
  User-Agent:
1990
- - mailgun-sdk-ruby/1.3.0
818
+ - mailgun-sdk-ruby/1.3.2
1991
819
  Accept:
1992
820
  - "*/*"
1993
821
  Authorization:
1994
- - Basic xxx==
822
+ - Basic xxx
1995
823
  Content-Type:
1996
824
  - application/x-www-form-urlencoded
1997
825
  Accept-Encoding:
1998
826
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1999
827
  response:
2000
828
  status:
2001
- code: 404
2002
- message: Not Found
829
+ code: 200
830
+ message: OK
2003
831
  headers:
2004
832
  Access-Control-Allow-Credentials:
2005
833
  - 'true'
@@ -2008,37 +836,37 @@ http_interactions:
2008
836
  Cache-Control:
2009
837
  - no-store
2010
838
  Content-Length:
2011
- - '31'
839
+ - '44'
2012
840
  Content-Type:
2013
841
  - application/json; charset=utf-8
2014
842
  Date:
2015
- - Sun, 26 Jan 2025 07:29:15 GMT
843
+ - Mon, 24 Feb 2025 22:44:13 GMT
2016
844
  Strict-Transport-Security:
2017
845
  - max-age=63072000; includeSubDomains
2018
846
  X-Mailgun-Key-Id:
2019
- - 90b59dea-f2d12a53
847
+ - c02fd0ba-d8dbad66
2020
848
  X-Xss-Protection:
2021
849
  - 1; mode=block
2022
850
  body:
2023
851
  encoding: UTF-8
2024
- string: '{"message":"Domain not found"}
852
+ string: '{"message":"domain key activated"}
2025
853
 
2026
854
  '
2027
855
  http_version:
2028
- recorded_at: Sun, 26 Jan 2025 07:29:15 GMT
856
+ recorded_at: Mon, 24 Feb 2025 22:44:13 GMT
2029
857
  - request:
2030
858
  method: get
2031
- uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys
859
+ uri: https://api.mailgun.net/v3/integration-test.domain.invalid/stats/total?event=clicked
2032
860
  body:
2033
861
  encoding: US-ASCII
2034
862
  string: ''
2035
863
  headers:
2036
864
  User-Agent:
2037
- - mailgun-sdk-ruby/1.3.0
865
+ - mailgun-sdk-ruby/1.3.2
2038
866
  Accept:
2039
867
  - "*/*"
2040
868
  Authorization:
2041
- - Basic xxx==
869
+ - Basic xxx
2042
870
  Accept-Encoding:
2043
871
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2044
872
  response:
@@ -2053,45 +881,50 @@ http_interactions:
2053
881
  Cache-Control:
2054
882
  - no-store
2055
883
  Content-Length:
2056
- - '13'
884
+ - '630'
2057
885
  Content-Type:
2058
886
  - application/json; charset=utf-8
2059
887
  Date:
2060
- - Sun, 26 Jan 2025 07:29:16 GMT
888
+ - Mon, 24 Feb 2025 22:44:13 GMT
2061
889
  Strict-Transport-Security:
2062
890
  - max-age=63072000; includeSubDomains
2063
891
  X-Mailgun-Key-Id:
2064
- - 90b59dea-f2d12a53
892
+ - c02fd0ba-d8dbad66
2065
893
  X-Xss-Protection:
2066
894
  - 1; mode=block
2067
895
  body:
2068
896
  encoding: UTF-8
2069
- string: '{"items":[]}
897
+ string: '{"description":"","start":"Mon, 17 Feb 2025 00:00:00 UTC","end":"Mon,
898
+ 24 Feb 2025 00:00:00 UTC","resolution":"day","stats":[{"time":"Mon, 17 Feb
899
+ 2025 00:00:00 UTC","clicked":{"total":0}},{"time":"Tue, 18 Feb 2025 00:00:00
900
+ UTC","clicked":{"total":0}},{"time":"Wed, 19 Feb 2025 00:00:00 UTC","clicked":{"total":0}},{"time":"Thu,
901
+ 20 Feb 2025 00:00:00 UTC","clicked":{"total":0}},{"time":"Fri, 21 Feb 2025
902
+ 00:00:00 UTC","clicked":{"total":0}},{"time":"Sat, 22 Feb 2025 00:00:00 UTC","clicked":{"total":0}},{"time":"Sun,
903
+ 23 Feb 2025 00:00:00 UTC","clicked":{"total":0}},{"time":"Mon, 24 Feb 2025
904
+ 00:00:00 UTC","clicked":{"total":0}}]}
2070
905
 
2071
906
  '
2072
907
  http_version:
2073
- recorded_at: Sun, 26 Jan 2025 07:29:16 GMT
908
+ recorded_at: Mon, 24 Feb 2025 22:44:13 GMT
2074
909
  - request:
2075
- method: put
2076
- uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys/smtp/activate
910
+ method: delete
911
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid
2077
912
  body:
2078
- encoding: UTF-8
913
+ encoding: US-ASCII
2079
914
  string: ''
2080
915
  headers:
2081
916
  User-Agent:
2082
- - mailgun-sdk-ruby/1.3.0
917
+ - mailgun-sdk-ruby/1.3.2
2083
918
  Accept:
2084
919
  - "*/*"
2085
920
  Authorization:
2086
- - Basic xxx==
2087
- Content-Type:
2088
- - application/x-www-form-urlencoded
921
+ - Basic xxx
2089
922
  Accept-Encoding:
2090
923
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2091
924
  response:
2092
925
  status:
2093
- code: 404
2094
- message: Not Found
926
+ code: 200
927
+ message: OK
2095
928
  headers:
2096
929
  Access-Control-Allow-Credentials:
2097
930
  - 'true'
@@ -2100,43 +933,45 @@ http_interactions:
2100
933
  Cache-Control:
2101
934
  - no-store
2102
935
  Content-Length:
2103
- - '35'
936
+ - '55'
2104
937
  Content-Type:
2105
938
  - application/json; charset=utf-8
2106
939
  Date:
2107
- - Sun, 26 Jan 2025 07:29:17 GMT
940
+ - Mon, 24 Feb 2025 22:45:36 GMT
2108
941
  Strict-Transport-Security:
2109
942
  - max-age=63072000; includeSubDomains
2110
943
  X-Mailgun-Key-Id:
2111
- - 90b59dea-f2d12a53
944
+ - c02fd0ba-d8dbad66
2112
945
  X-Xss-Protection:
2113
946
  - 1; mode=block
2114
947
  body:
2115
948
  encoding: UTF-8
2116
- string: '{"message":"domain key not found"}
949
+ string: '{"message":"Domain will be deleted in the background"}
2117
950
 
2118
951
  '
2119
952
  http_version:
2120
- recorded_at: Sun, 26 Jan 2025 07:29:17 GMT
953
+ recorded_at: Mon, 24 Feb 2025 22:45:36 GMT
2121
954
  - request:
2122
- method: delete
2123
- uri: https://api.mailgun.net/v1/dkim/keys?params%5Bselector%5D=test&params%5Bsigning_domain%5D=integration-test.domain.invalid
955
+ method: put
956
+ uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys/tetetet/deactivate
2124
957
  body:
2125
- encoding: US-ASCII
958
+ encoding: UTF-8
2126
959
  string: ''
2127
960
  headers:
2128
961
  User-Agent:
2129
- - mailgun-sdk-ruby/1.3.0
962
+ - mailgun-sdk-ruby/1.3.2
2130
963
  Accept:
2131
964
  - "*/*"
2132
965
  Authorization:
2133
- - Basic xxx==
966
+ - Basic xxx
967
+ Content-Type:
968
+ - application/x-www-form-urlencoded
2134
969
  Accept-Encoding:
2135
970
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2136
971
  response:
2137
972
  status:
2138
- code: 400
2139
- message: Bad Request
973
+ code: 200
974
+ message: OK
2140
975
  headers:
2141
976
  Access-Control-Allow-Credentials:
2142
977
  - 'true'
@@ -2145,43 +980,43 @@ http_interactions:
2145
980
  Cache-Control:
2146
981
  - no-store
2147
982
  Content-Length:
2148
- - '58'
983
+ - '35'
2149
984
  Content-Type:
2150
985
  - application/json; charset=utf-8
2151
986
  Date:
2152
- - Sun, 26 Jan 2025 07:29:17 GMT
987
+ - Wed, 26 Feb 2025 21:54:43 GMT
2153
988
  Strict-Transport-Security:
2154
989
  - max-age=63072000; includeSubDomains
2155
990
  X-Mailgun-Key-Id:
2156
- - 90b59dea-f2d12a53
991
+ - c02fd0ba-d8dbad66
2157
992
  X-Xss-Protection:
2158
993
  - 1; mode=block
2159
994
  body:
2160
995
  encoding: UTF-8
2161
- string: '{"message":"Missing mandatory parameter: signing_domain"}
996
+ string: '{"message":"domain key deactivated"}
2162
997
 
2163
998
  '
2164
999
  http_version:
2165
- recorded_at: Sun, 26 Jan 2025 07:29:17 GMT
1000
+ recorded_at: Wed, 26 Feb 2025 21:54:43 GMT
2166
1001
  - request:
2167
- method: get
2168
- uri: https://api.mailgun.net/v3/integration-test.domain.invalid/stats/total?duration=24h&event=clicked&start=Sun,%2023%20Dec%202023%2001:23:45%20JST
1002
+ method: delete
1003
+ uri: https://api.mailgun.net/v1/dkim/keys?params=%7Bsigning_domain:%20%22integration-test.domain.invalid%22,%20selector:%20%22test%22%7D
2169
1004
  body:
2170
1005
  encoding: US-ASCII
2171
1006
  string: ''
2172
1007
  headers:
2173
1008
  User-Agent:
2174
- - mailgun-sdk-ruby/1.3.0
1009
+ - mailgun-sdk-ruby/1.3.2
2175
1010
  Accept:
2176
1011
  - "*/*"
2177
1012
  Authorization:
2178
- - Basic xxx==
1013
+ - Basic xxx
2179
1014
  Accept-Encoding:
2180
1015
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2181
1016
  response:
2182
1017
  status:
2183
- code: 404
2184
- message: Not Found
1018
+ code: 200
1019
+ message: OK
2185
1020
  headers:
2186
1021
  Access-Control-Allow-Credentials:
2187
1022
  - 'true'
@@ -2190,20 +1025,22 @@ http_interactions:
2190
1025
  Cache-Control:
2191
1026
  - no-store
2192
1027
  Content-Length:
2193
- - '31'
1028
+ - '58'
2194
1029
  Content-Type:
2195
1030
  - application/json; charset=utf-8
2196
1031
  Date:
2197
- - Sun, 26 Jan 2025 07:29:18 GMT
1032
+ - Wed, 26 Feb 2025 21:57:39 GMT
2198
1033
  Strict-Transport-Security:
2199
1034
  - max-age=63072000; includeSubDomains
1035
+ X-Mailgun-Key-Id:
1036
+ - c02fd0ba-d8dbad66
2200
1037
  X-Xss-Protection:
2201
1038
  - 1; mode=block
2202
1039
  body:
2203
1040
  encoding: UTF-8
2204
- string: '{"message":"domain not found"}
1041
+ string: '{"message":"success"}
2205
1042
 
2206
1043
  '
2207
1044
  http_version:
2208
- recorded_at: Sun, 26 Jan 2025 07:29:18 GMT
1045
+ recorded_at: Wed, 26 Feb 2025 21:57:39 GMT
2209
1046
  recorded_with: VCR 3.0.3