mailgun-ruby 1.2.15 → 1.3.5
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +52 -3
- data/Gemfile +1 -0
- data/README.md +2 -2
- data/docs/MessageBuilder.md +12 -0
- data/docs/Metrics.md +108 -0
- data/docs/Webhooks.md +4 -2
- data/lib/mailgun/chains.rb +1 -1
- data/lib/mailgun/client.rb +40 -30
- data/lib/mailgun/domains/domains.rb +19 -0
- data/lib/mailgun/events/events.rb +4 -4
- data/lib/mailgun/exceptions/exceptions.rb +7 -7
- data/lib/mailgun/messages/message_builder.rb +14 -2
- data/lib/mailgun/metrics/metrics.rb +61 -0
- data/lib/mailgun/response.rb +11 -10
- data/lib/mailgun/version.rb +1 -1
- data/lib/mailgun.rb +2 -1
- data/mailgun.gemspec +6 -3
- data/spec/integration/domains_spec.rb +95 -92
- data/spec/integration/email_validation_spec.rb +2 -1
- data/spec/integration/list_spec.rb +1 -1
- data/spec/integration/mailer_spec.rb +5 -5
- data/spec/integration/mailgun_spec.rb +14 -12
- data/spec/integration/metrics_spec.rb +218 -0
- data/spec/integration/routes_spec.rb +17 -1
- data/spec/integration/stats_spec.rb +1 -1
- data/spec/integration/unsubscribes_spec.rb +2 -2
- data/spec/integration/webhook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/unit/connection/test_client.rb +1 -1
- data/spec/unit/events/events_spec.rb +1 -1
- data/spec/unit/exceptions/exceptions_spec.rb +3 -3
- data/spec/unit/messages/message_builder_spec.rb +4 -3
- data/vcr_cassettes/bounces.yml +59 -98
- data/vcr_cassettes/complaints.yml +237 -97
- data/vcr_cassettes/domains.yml +332 -763
- data/vcr_cassettes/email_validation.yml +81 -144
- data/vcr_cassettes/events.yml +24 -63
- data/vcr_cassettes/exceptions.yml +49 -2
- data/vcr_cassettes/list_members.yml +187 -179
- data/vcr_cassettes/mailing_list.yml +309 -17
- data/vcr_cassettes/metrics.yml +116 -0
- data/vcr_cassettes/routes.yml +246 -246
- data/vcr_cassettes/send_message.yml +54 -3
- data/vcr_cassettes/stats.yml +28 -24
- data/vcr_cassettes/suppressions.yml +229 -447
- data/vcr_cassettes/unsubscribes.yml +219 -9
- metadata +58 -15
- data/docs/Messages.md +0 -107
- /data/docs/{railgun/Templates.md → Templates.md} +0 -0
data/vcr_cassettes/domains.yml
CHANGED
@@ -2,432 +2,21 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api
|
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
|
5
|
+
uri: https://api.mailgun.net/v4/domains
|
240
6
|
body:
|
241
7
|
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: ''
|
8
|
+
string: name=integration-test.domain.invalid&smtp_password&spam_action=tag&wildcard=false
|
316
9
|
headers:
|
317
|
-
Accept:
|
318
|
-
- "*/*; q=0.5, application/xml"
|
319
|
-
Accept-Encoding:
|
320
|
-
- gzip, deflate
|
321
10
|
User-Agent:
|
322
|
-
-
|
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:
|
11
|
+
- mailgun-sdk-ruby/1.3.2
|
367
12
|
Accept:
|
368
13
|
- "*/*"
|
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
14
|
Authorization:
|
380
15
|
- 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
16
|
Content-Type:
|
424
17
|
- application/x-www-form-urlencoded
|
425
18
|
Accept-Encoding:
|
426
19
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
427
|
-
Host:
|
428
|
-
- api.mailgun.net
|
429
|
-
Authorization:
|
430
|
-
- Basic xxx
|
431
20
|
response:
|
432
21
|
status:
|
433
22
|
code: 200
|
@@ -440,44 +29,42 @@ http_interactions:
|
|
440
29
|
Cache-Control:
|
441
30
|
- no-store
|
442
31
|
Content-Length:
|
443
|
-
- '
|
32
|
+
- '1382'
|
444
33
|
Content-Type:
|
445
34
|
- application/json; charset=utf-8
|
446
35
|
Date:
|
447
|
-
-
|
36
|
+
- Mon, 24 Feb 2025 22:44:03 GMT
|
448
37
|
Strict-Transport-Security:
|
449
38
|
- max-age=63072000; includeSubDomains
|
450
39
|
X-Mailgun-Key-Id:
|
451
|
-
-
|
40
|
+
- c02fd0ba-d8dbad66
|
452
41
|
X-Xss-Protection:
|
453
42
|
- 1; mode=block
|
454
43
|
body:
|
455
44
|
encoding: UTF-8
|
456
|
-
string: '{"message":"Domain DNS records have been created","domain":{"created_at":"
|
457
|
-
|
458
|
-
p=
|
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
|
459
48
|
include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
|
460
49
|
|
461
|
-
'
|
462
|
-
http_version:
|
463
|
-
recorded_at:
|
50
|
+
'
|
51
|
+
http_version:
|
52
|
+
recorded_at: Mon, 24 Feb 2025 22:44:03 GMT
|
464
53
|
- request:
|
465
54
|
method: get
|
466
|
-
uri: https://api.mailgun.net/
|
55
|
+
uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid
|
467
56
|
body:
|
468
57
|
encoding: US-ASCII
|
469
58
|
string: ''
|
470
59
|
headers:
|
60
|
+
User-Agent:
|
61
|
+
- mailgun-sdk-ruby/1.3.2
|
471
62
|
Accept:
|
472
63
|
- "*/*"
|
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
64
|
Authorization:
|
480
65
|
- Basic xxx
|
66
|
+
Accept-Encoding:
|
67
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
481
68
|
response:
|
482
69
|
status:
|
483
70
|
code: 200
|
@@ -490,43 +77,41 @@ http_interactions:
|
|
490
77
|
Cache-Control:
|
491
78
|
- no-store
|
492
79
|
Content-Length:
|
493
|
-
- '
|
80
|
+
- '1333'
|
494
81
|
Content-Type:
|
495
82
|
- application/json; charset=utf-8
|
496
83
|
Date:
|
497
|
-
-
|
84
|
+
- Mon, 24 Feb 2025 22:44:04 GMT
|
498
85
|
Strict-Transport-Security:
|
499
86
|
- max-age=63072000; includeSubDomains
|
500
87
|
X-Mailgun-Key-Id:
|
501
|
-
-
|
88
|
+
- c02fd0ba-d8dbad66
|
502
89
|
X-Xss-Protection:
|
503
90
|
- 1; mode=block
|
504
91
|
body:
|
505
92
|
encoding: UTF-8
|
506
|
-
string: '{"domain":{"created_at":"
|
507
|
-
p=
|
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
|
508
95
|
include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
|
509
96
|
|
510
|
-
'
|
511
|
-
http_version:
|
512
|
-
recorded_at:
|
97
|
+
'
|
98
|
+
http_version:
|
99
|
+
recorded_at: Mon, 24 Feb 2025 22:44:04 GMT
|
513
100
|
- request:
|
514
101
|
method: get
|
515
|
-
uri: https://api.mailgun.net/
|
102
|
+
uri: https://api.mailgun.net/v4/domains
|
516
103
|
body:
|
517
104
|
encoding: US-ASCII
|
518
105
|
string: ''
|
519
106
|
headers:
|
107
|
+
User-Agent:
|
108
|
+
- mailgun-sdk-ruby/1.3.2
|
520
109
|
Accept:
|
521
110
|
- "*/*"
|
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
111
|
Authorization:
|
529
112
|
- Basic xxx
|
113
|
+
Accept-Encoding:
|
114
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
530
115
|
response:
|
531
116
|
status:
|
532
117
|
code: 200
|
@@ -539,43 +124,43 @@ http_interactions:
|
|
539
124
|
Cache-Control:
|
540
125
|
- no-store
|
541
126
|
Content-Length:
|
542
|
-
- '
|
127
|
+
- '864'
|
543
128
|
Content-Type:
|
544
129
|
- application/json; charset=utf-8
|
545
130
|
Date:
|
546
|
-
-
|
131
|
+
- Mon, 24 Feb 2025 22:44:05 GMT
|
547
132
|
Strict-Transport-Security:
|
548
133
|
- max-age=63072000; includeSubDomains
|
549
134
|
X-Mailgun-Key-Id:
|
550
|
-
-
|
135
|
+
- c02fd0ba-d8dbad66
|
551
136
|
X-Xss-Protection:
|
552
137
|
- 1; mode=block
|
553
138
|
body:
|
554
139
|
encoding: UTF-8
|
555
|
-
string: '{"total_count":2,"items":[{"created_at":"
|
556
|
-
GMT","id":"
|
557
|
-
|
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}]}
|
558
143
|
|
559
|
-
'
|
560
|
-
http_version:
|
561
|
-
recorded_at:
|
144
|
+
'
|
145
|
+
http_version:
|
146
|
+
recorded_at: Mon, 24 Feb 2025 22:44:05 GMT
|
562
147
|
- request:
|
563
|
-
method:
|
564
|
-
uri: https://api.mailgun.net/
|
148
|
+
method: put
|
149
|
+
uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid
|
565
150
|
body:
|
566
|
-
encoding:
|
567
|
-
string:
|
151
|
+
encoding: UTF-8
|
152
|
+
string: spam_action=block&web_scheme=https&wildcard=true
|
568
153
|
headers:
|
154
|
+
User-Agent:
|
155
|
+
- mailgun-sdk-ruby/1.3.2
|
569
156
|
Accept:
|
570
157
|
- "*/*"
|
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
158
|
Authorization:
|
578
159
|
- Basic xxx
|
160
|
+
Content-Type:
|
161
|
+
- application/x-www-form-urlencoded
|
162
|
+
Accept-Encoding:
|
163
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
579
164
|
response:
|
580
165
|
status:
|
581
166
|
code: 200
|
@@ -588,45 +173,44 @@ http_interactions:
|
|
588
173
|
Cache-Control:
|
589
174
|
- no-store
|
590
175
|
Content-Length:
|
591
|
-
- '
|
176
|
+
- '1371'
|
592
177
|
Content-Type:
|
593
178
|
- application/json; charset=utf-8
|
594
179
|
Date:
|
595
|
-
-
|
180
|
+
- Mon, 24 Feb 2025 22:44:05 GMT
|
596
181
|
Strict-Transport-Security:
|
597
182
|
- max-age=63072000; includeSubDomains
|
598
183
|
X-Mailgun-Key-Id:
|
599
|
-
-
|
184
|
+
- c02fd0ba-d8dbad66
|
600
185
|
X-Xss-Protection:
|
601
186
|
- 1; mode=block
|
602
187
|
body:
|
603
188
|
encoding: UTF-8
|
604
|
-
string: '{"message":"Domain
|
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"}]}
|
605
193
|
|
606
|
-
'
|
607
|
-
http_version:
|
608
|
-
recorded_at:
|
194
|
+
'
|
195
|
+
http_version:
|
196
|
+
recorded_at: Mon, 24 Feb 2025 22:44:05 GMT
|
609
197
|
- request:
|
610
198
|
method: post
|
611
|
-
uri: https://api.mailgun.net/v3/domains/
|
199
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials
|
612
200
|
body:
|
613
201
|
encoding: UTF-8
|
614
|
-
string: login=test_login
|
202
|
+
string: login=test_login
|
615
203
|
headers:
|
204
|
+
User-Agent:
|
205
|
+
- mailgun-sdk-ruby/1.3.2
|
616
206
|
Accept:
|
617
207
|
- "*/*"
|
618
|
-
|
619
|
-
-
|
620
|
-
Content-Length:
|
621
|
-
- '39'
|
208
|
+
Authorization:
|
209
|
+
- Basic xxx
|
622
210
|
Content-Type:
|
623
211
|
- application/x-www-form-urlencoded
|
624
212
|
Accept-Encoding:
|
625
213
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
626
|
-
Host:
|
627
|
-
- api.mailgun.net
|
628
|
-
Authorization:
|
629
|
-
- Basic xxx
|
630
214
|
response:
|
631
215
|
status:
|
632
216
|
code: 200
|
@@ -638,49 +222,43 @@ http_interactions:
|
|
638
222
|
- "*"
|
639
223
|
Cache-Control:
|
640
224
|
- no-store
|
641
|
-
Content-Disposition:
|
642
|
-
- inline
|
643
225
|
Content-Length:
|
644
|
-
- '
|
226
|
+
- '243'
|
645
227
|
Content-Type:
|
646
|
-
- application/json
|
228
|
+
- application/json; charset=utf-8
|
647
229
|
Date:
|
648
|
-
-
|
649
|
-
Server:
|
650
|
-
- TwistedWeb/20.3.0
|
230
|
+
- Mon, 24 Feb 2025 22:44:06 GMT
|
651
231
|
Strict-Transport-Security:
|
652
232
|
- max-age=63072000; includeSubDomains
|
233
|
+
X-Mailgun-Key-Id:
|
234
|
+
- c02fd0ba-d8dbad66
|
653
235
|
X-Xss-Protection:
|
654
236
|
- 1; mode=block
|
655
237
|
body:
|
656
238
|
encoding: UTF-8
|
657
|
-
string:
|
658
|
-
{
|
659
|
-
|
660
|
-
|
661
|
-
http_version:
|
662
|
-
recorded_at:
|
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"}}
|
241
|
+
|
242
|
+
'
|
243
|
+
http_version:
|
244
|
+
recorded_at: Mon, 24 Feb 2025 22:44:06 GMT
|
663
245
|
- request:
|
664
246
|
method: put
|
665
|
-
uri: https://api.mailgun.net/v3/domains/
|
247
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
|
666
248
|
body:
|
667
249
|
encoding: UTF-8
|
668
|
-
string:
|
250
|
+
string: spec=abc
|
669
251
|
headers:
|
252
|
+
User-Agent:
|
253
|
+
- mailgun-sdk-ruby/1.3.2
|
670
254
|
Accept:
|
671
255
|
- "*/*"
|
672
|
-
|
673
|
-
-
|
674
|
-
Content-Length:
|
675
|
-
- '23'
|
256
|
+
Authorization:
|
257
|
+
- Basic xxx
|
676
258
|
Content-Type:
|
677
259
|
- application/x-www-form-urlencoded
|
678
260
|
Accept-Encoding:
|
679
261
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
680
|
-
Host:
|
681
|
-
- api.mailgun.net
|
682
|
-
Authorization:
|
683
|
-
- Basic xxx
|
684
262
|
response:
|
685
263
|
status:
|
686
264
|
code: 200
|
@@ -692,45 +270,41 @@ http_interactions:
|
|
692
270
|
- "*"
|
693
271
|
Cache-Control:
|
694
272
|
- no-store
|
695
|
-
Content-Disposition:
|
696
|
-
- inline
|
697
273
|
Content-Length:
|
698
|
-
- '
|
274
|
+
- '230'
|
699
275
|
Content-Type:
|
700
|
-
- application/json
|
276
|
+
- application/json; charset=utf-8
|
701
277
|
Date:
|
702
|
-
-
|
703
|
-
Server:
|
704
|
-
- TwistedWeb/20.3.0
|
278
|
+
- Mon, 24 Feb 2025 22:44:06 GMT
|
705
279
|
Strict-Transport-Security:
|
706
280
|
- max-age=63072000; includeSubDomains
|
281
|
+
X-Mailgun-Key-Id:
|
282
|
+
- c02fd0ba-d8dbad66
|
707
283
|
X-Xss-Protection:
|
708
284
|
- 1; mode=block
|
709
285
|
body:
|
710
286
|
encoding: UTF-8
|
711
|
-
string:
|
712
|
-
{
|
713
|
-
|
714
|
-
|
715
|
-
http_version:
|
716
|
-
recorded_at:
|
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"}}
|
289
|
+
|
290
|
+
'
|
291
|
+
http_version:
|
292
|
+
recorded_at: Mon, 24 Feb 2025 22:44:06 GMT
|
717
293
|
- request:
|
718
294
|
method: delete
|
719
|
-
uri: https://api.mailgun.net/v3/domains/
|
295
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
|
720
296
|
body:
|
721
297
|
encoding: US-ASCII
|
722
298
|
string: ''
|
723
299
|
headers:
|
300
|
+
User-Agent:
|
301
|
+
- mailgun-sdk-ruby/1.3.2
|
724
302
|
Accept:
|
725
303
|
- "*/*"
|
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
304
|
Authorization:
|
733
305
|
- Basic xxx
|
306
|
+
Accept-Encoding:
|
307
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
734
308
|
response:
|
735
309
|
status:
|
736
310
|
code: 200
|
@@ -742,43 +316,40 @@ http_interactions:
|
|
742
316
|
- "*"
|
743
317
|
Cache-Control:
|
744
318
|
- no-store
|
745
|
-
Content-Disposition:
|
746
|
-
- inline
|
747
319
|
Content-Length:
|
748
|
-
- '
|
320
|
+
- '96'
|
749
321
|
Content-Type:
|
750
|
-
- application/json
|
322
|
+
- application/json; charset=utf-8
|
751
323
|
Date:
|
752
|
-
-
|
753
|
-
Server:
|
754
|
-
- TwistedWeb/20.3.0
|
324
|
+
- Mon, 24 Feb 2025 22:44:07 GMT
|
755
325
|
Strict-Transport-Security:
|
756
326
|
- max-age=63072000; includeSubDomains
|
327
|
+
X-Mailgun-Key-Id:
|
328
|
+
- c02fd0ba-d8dbad66
|
757
329
|
X-Xss-Protection:
|
758
330
|
- 1; mode=block
|
759
331
|
body:
|
760
332
|
encoding: UTF-8
|
761
|
-
string:
|
762
|
-
|
763
|
-
|
764
|
-
|
333
|
+
string: '{"message":"Credentials have been deleted","spec":"test_login@integration-test.domain.invalid"}
|
334
|
+
|
335
|
+
'
|
336
|
+
http_version:
|
337
|
+
recorded_at: Mon, 24 Feb 2025 22:44:07 GMT
|
765
338
|
- request:
|
766
339
|
method: get
|
767
|
-
uri: https://api.mailgun.net/v3/domains/
|
340
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
|
768
341
|
body:
|
769
342
|
encoding: US-ASCII
|
770
343
|
string: ''
|
771
344
|
headers:
|
345
|
+
User-Agent:
|
346
|
+
- mailgun-sdk-ruby/1.3.2
|
772
347
|
Accept:
|
773
348
|
- "*/*"
|
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
349
|
Authorization:
|
781
350
|
- Basic xxx
|
351
|
+
Accept-Encoding:
|
352
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
782
353
|
response:
|
783
354
|
status:
|
784
355
|
code: 200
|
@@ -795,41 +366,37 @@ http_interactions:
|
|
795
366
|
Content-Type:
|
796
367
|
- application/json; charset=utf-8
|
797
368
|
Date:
|
798
|
-
-
|
369
|
+
- Mon, 24 Feb 2025 22:44:07 GMT
|
799
370
|
Strict-Transport-Security:
|
800
371
|
- max-age=63072000; includeSubDomains
|
801
372
|
X-Mailgun-Key-Id:
|
802
|
-
-
|
373
|
+
- c02fd0ba-d8dbad66
|
803
374
|
X-Xss-Protection:
|
804
375
|
- 1; mode=block
|
805
376
|
body:
|
806
377
|
encoding: UTF-8
|
807
378
|
string: '{"require_tls":false,"skip_verification":false}
|
808
379
|
|
809
|
-
'
|
810
|
-
http_version:
|
811
|
-
recorded_at:
|
380
|
+
'
|
381
|
+
http_version:
|
382
|
+
recorded_at: Mon, 24 Feb 2025 22:44:07 GMT
|
812
383
|
- request:
|
813
384
|
method: put
|
814
|
-
uri: https://api.mailgun.net/v3/domains/
|
385
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
|
815
386
|
body:
|
816
387
|
encoding: UTF-8
|
817
388
|
string: require_tls=true&skip_verification=true
|
818
389
|
headers:
|
390
|
+
User-Agent:
|
391
|
+
- mailgun-sdk-ruby/1.3.2
|
819
392
|
Accept:
|
820
393
|
- "*/*"
|
821
|
-
|
822
|
-
-
|
823
|
-
Content-Length:
|
824
|
-
- '39'
|
394
|
+
Authorization:
|
395
|
+
- Basic xxx
|
825
396
|
Content-Type:
|
826
397
|
- application/x-www-form-urlencoded
|
827
398
|
Accept-Encoding:
|
828
399
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
829
|
-
Host:
|
830
|
-
- api.mailgun.net
|
831
|
-
Authorization:
|
832
|
-
- Basic xxx
|
833
400
|
response:
|
834
401
|
status:
|
835
402
|
code: 200
|
@@ -846,11 +413,11 @@ http_interactions:
|
|
846
413
|
Content-Type:
|
847
414
|
- application/json; charset=utf-8
|
848
415
|
Date:
|
849
|
-
-
|
416
|
+
- Mon, 24 Feb 2025 22:44:08 GMT
|
850
417
|
Strict-Transport-Security:
|
851
418
|
- max-age=63072000; includeSubDomains
|
852
419
|
X-Mailgun-Key-Id:
|
853
|
-
-
|
420
|
+
- c02fd0ba-d8dbad66
|
854
421
|
X-Xss-Protection:
|
855
422
|
- 1; mode=block
|
856
423
|
body:
|
@@ -858,26 +425,24 @@ http_interactions:
|
|
858
425
|
string: '{"message":"Domain connection settings have been updated, may take
|
859
426
|
10 minutes to fully propagate","require_tls":true,"skip_verification":true}
|
860
427
|
|
861
|
-
'
|
862
|
-
http_version:
|
863
|
-
recorded_at:
|
428
|
+
'
|
429
|
+
http_version:
|
430
|
+
recorded_at: Mon, 24 Feb 2025 22:44:08 GMT
|
864
431
|
- request:
|
865
432
|
method: get
|
866
|
-
uri: https://api.mailgun.net/v3/domains/
|
433
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking
|
867
434
|
body:
|
868
435
|
encoding: US-ASCII
|
869
436
|
string: ''
|
870
437
|
headers:
|
438
|
+
User-Agent:
|
439
|
+
- mailgun-sdk-ruby/1.3.2
|
871
440
|
Accept:
|
872
441
|
- "*/*"
|
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
442
|
Authorization:
|
880
443
|
- Basic xxx
|
444
|
+
Accept-Encoding:
|
445
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
881
446
|
response:
|
882
447
|
status:
|
883
448
|
code: 200
|
@@ -890,45 +455,43 @@ http_interactions:
|
|
890
455
|
Cache-Control:
|
891
456
|
- no-store
|
892
457
|
Content-Length:
|
893
|
-
- '
|
458
|
+
- '286'
|
894
459
|
Content-Type:
|
895
460
|
- application/json; charset=utf-8
|
896
461
|
Date:
|
897
|
-
-
|
462
|
+
- Mon, 24 Feb 2025 22:44:08 GMT
|
898
463
|
Strict-Transport-Security:
|
899
464
|
- max-age=63072000; includeSubDomains
|
900
465
|
X-Mailgun-Key-Id:
|
901
|
-
-
|
466
|
+
- c02fd0ba-d8dbad66
|
902
467
|
X-Xss-Protection:
|
903
468
|
- 1; mode=block
|
904
469
|
body:
|
905
470
|
encoding: UTF-8
|
906
|
-
string: '{"tracking":{"open":{"active":
|
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"}}
|
907
474
|
|
908
|
-
'
|
909
|
-
http_version:
|
910
|
-
recorded_at:
|
475
|
+
'
|
476
|
+
http_version:
|
477
|
+
recorded_at: Mon, 24 Feb 2025 22:44:08 GMT
|
911
478
|
- request:
|
912
479
|
method: put
|
913
|
-
uri: https://api.mailgun.net/v3/domains/
|
480
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/open
|
914
481
|
body:
|
915
482
|
encoding: UTF-8
|
916
483
|
string: active=false
|
917
484
|
headers:
|
485
|
+
User-Agent:
|
486
|
+
- mailgun-sdk-ruby/1.3.2
|
918
487
|
Accept:
|
919
488
|
- "*/*"
|
920
|
-
|
921
|
-
-
|
922
|
-
Content-Length:
|
923
|
-
- '12'
|
489
|
+
Authorization:
|
490
|
+
- Basic xxx
|
924
491
|
Content-Type:
|
925
492
|
- application/x-www-form-urlencoded
|
926
493
|
Accept-Encoding:
|
927
494
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
928
|
-
Host:
|
929
|
-
- api.mailgun.net
|
930
|
-
Authorization:
|
931
|
-
- Basic xxx
|
932
495
|
response:
|
933
496
|
status:
|
934
497
|
code: 200
|
@@ -941,45 +504,41 @@ http_interactions:
|
|
941
504
|
Cache-Control:
|
942
505
|
- no-store
|
943
506
|
Content-Length:
|
944
|
-
- '
|
507
|
+
- '106'
|
945
508
|
Content-Type:
|
946
509
|
- application/json; charset=utf-8
|
947
510
|
Date:
|
948
|
-
-
|
511
|
+
- Mon, 24 Feb 2025 22:44:09 GMT
|
949
512
|
Strict-Transport-Security:
|
950
513
|
- max-age=63072000; includeSubDomains
|
951
514
|
X-Mailgun-Key-Id:
|
952
|
-
-
|
515
|
+
- c02fd0ba-d8dbad66
|
953
516
|
X-Xss-Protection:
|
954
517
|
- 1; mode=block
|
955
518
|
body:
|
956
519
|
encoding: UTF-8
|
957
|
-
string: '{"message":"Domain tracking settings have been updated","open":{"active":false,"place_at_the_top":
|
520
|
+
string: '{"message":"Domain tracking settings have been updated","open":{"active":false,"place_at_the_top":false}}
|
958
521
|
|
959
|
-
'
|
960
|
-
http_version:
|
961
|
-
recorded_at:
|
522
|
+
'
|
523
|
+
http_version:
|
524
|
+
recorded_at: Mon, 24 Feb 2025 22:44:09 GMT
|
962
525
|
- request:
|
963
526
|
method: put
|
964
|
-
uri: https://api.mailgun.net/v3/domains/
|
527
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/click
|
965
528
|
body:
|
966
529
|
encoding: UTF-8
|
967
530
|
string: active=false
|
968
531
|
headers:
|
532
|
+
User-Agent:
|
533
|
+
- mailgun-sdk-ruby/1.3.2
|
969
534
|
Accept:
|
970
535
|
- "*/*"
|
971
|
-
|
972
|
-
-
|
973
|
-
Content-Length:
|
974
|
-
- '12'
|
536
|
+
Authorization:
|
537
|
+
- Basic xxx
|
975
538
|
Content-Type:
|
976
539
|
- application/x-www-form-urlencoded
|
977
540
|
Accept-Encoding:
|
978
541
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
979
|
-
Host:
|
980
|
-
- api.mailgun.net
|
981
|
-
Authorization:
|
982
|
-
- Basic xxx
|
983
542
|
response:
|
984
543
|
status:
|
985
544
|
code: 200
|
@@ -996,41 +555,37 @@ http_interactions:
|
|
996
555
|
Content-Type:
|
997
556
|
- application/json; charset=utf-8
|
998
557
|
Date:
|
999
|
-
-
|
558
|
+
- Mon, 24 Feb 2025 22:44:09 GMT
|
1000
559
|
Strict-Transport-Security:
|
1001
560
|
- max-age=63072000; includeSubDomains
|
1002
561
|
X-Mailgun-Key-Id:
|
1003
|
-
-
|
562
|
+
- c02fd0ba-d8dbad66
|
1004
563
|
X-Xss-Protection:
|
1005
564
|
- 1; mode=block
|
1006
565
|
body:
|
1007
566
|
encoding: UTF-8
|
1008
567
|
string: '{"message":"Domain tracking settings have been updated","click":{"active":false}}
|
1009
568
|
|
1010
|
-
'
|
1011
|
-
http_version:
|
1012
|
-
recorded_at:
|
569
|
+
'
|
570
|
+
http_version:
|
571
|
+
recorded_at: Mon, 24 Feb 2025 22:44:09 GMT
|
1013
572
|
- request:
|
1014
573
|
method: put
|
1015
|
-
uri: https://api.mailgun.net/v3/domains/
|
574
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/unsubscribe
|
1016
575
|
body:
|
1017
576
|
encoding: UTF-8
|
1018
577
|
string: active=false
|
1019
578
|
headers:
|
579
|
+
User-Agent:
|
580
|
+
- mailgun-sdk-ruby/1.3.2
|
1020
581
|
Accept:
|
1021
582
|
- "*/*"
|
1022
|
-
|
1023
|
-
-
|
1024
|
-
Content-Length:
|
1025
|
-
- '12'
|
583
|
+
Authorization:
|
584
|
+
- Basic xxx
|
1026
585
|
Content-Type:
|
1027
586
|
- application/x-www-form-urlencoded
|
1028
587
|
Accept-Encoding:
|
1029
588
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1030
|
-
Host:
|
1031
|
-
- api.mailgun.net
|
1032
|
-
Authorization:
|
1033
|
-
- Basic xxx
|
1034
589
|
response:
|
1035
590
|
status:
|
1036
591
|
code: 200
|
@@ -1043,45 +598,43 @@ http_interactions:
|
|
1043
598
|
Cache-Control:
|
1044
599
|
- no-store
|
1045
600
|
Content-Length:
|
1046
|
-
- '
|
601
|
+
- '233'
|
1047
602
|
Content-Type:
|
1048
603
|
- application/json; charset=utf-8
|
1049
604
|
Date:
|
1050
|
-
-
|
605
|
+
- Mon, 24 Feb 2025 22:44:10 GMT
|
1051
606
|
Strict-Transport-Security:
|
1052
607
|
- max-age=63072000; includeSubDomains
|
1053
608
|
X-Mailgun-Key-Id:
|
1054
|
-
-
|
609
|
+
- c02fd0ba-d8dbad66
|
1055
610
|
X-Xss-Protection:
|
1056
611
|
- 1; mode=block
|
1057
612
|
body:
|
1058
613
|
encoding: UTF-8
|
1059
|
-
string: '{"message":"Domain tracking settings have been updated","unsubscribe":{"active":false,"html_footer":"<p
|
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"}}
|
1060
617
|
|
1061
|
-
'
|
1062
|
-
http_version:
|
1063
|
-
recorded_at:
|
618
|
+
'
|
619
|
+
http_version:
|
620
|
+
recorded_at: Mon, 24 Feb 2025 22:44:10 GMT
|
1064
621
|
- request:
|
1065
622
|
method: put
|
1066
|
-
uri: https://api.mailgun.net/v3/domains/
|
623
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_authority
|
1067
624
|
body:
|
1068
625
|
encoding: UTF-8
|
1069
|
-
string:
|
626
|
+
string: self=true
|
1070
627
|
headers:
|
628
|
+
User-Agent:
|
629
|
+
- mailgun-sdk-ruby/1.3.2
|
1071
630
|
Accept:
|
1072
631
|
- "*/*"
|
1073
|
-
|
1074
|
-
-
|
1075
|
-
Content-Length:
|
1076
|
-
- '12'
|
632
|
+
Authorization:
|
633
|
+
- Basic xxx
|
1077
634
|
Content-Type:
|
1078
635
|
- application/x-www-form-urlencoded
|
1079
636
|
Accept-Encoding:
|
1080
637
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1081
|
-
Host:
|
1082
|
-
- api.mailgun.net
|
1083
|
-
Authorization:
|
1084
|
-
- Basic xxx
|
1085
638
|
response:
|
1086
639
|
status:
|
1087
640
|
code: 200
|
@@ -1094,47 +647,43 @@ http_interactions:
|
|
1094
647
|
Cache-Control:
|
1095
648
|
- no-store
|
1096
649
|
Content-Length:
|
1097
|
-
- '
|
650
|
+
- '752'
|
1098
651
|
Content-Type:
|
1099
652
|
- application/json; charset=utf-8
|
1100
653
|
Date:
|
1101
|
-
-
|
654
|
+
- Mon, 24 Feb 2025 22:44:11 GMT
|
1102
655
|
Strict-Transport-Security:
|
1103
656
|
- max-age=63072000; includeSubDomains
|
1104
657
|
X-Mailgun-Key-Id:
|
1105
|
-
-
|
658
|
+
- c02fd0ba-d8dbad66
|
1106
659
|
X-Xss-Protection:
|
1107
660
|
- 1; mode=block
|
1108
661
|
body:
|
1109
662
|
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":"
|
1112
|
-
|
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}
|
1113
666
|
|
1114
|
-
'
|
1115
|
-
http_version:
|
1116
|
-
recorded_at:
|
667
|
+
'
|
668
|
+
http_version:
|
669
|
+
recorded_at: Mon, 24 Feb 2025 22:44:11 GMT
|
1117
670
|
- request:
|
1118
671
|
method: put
|
1119
|
-
uri: https://api.mailgun.net/v3/domains/
|
672
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_selector
|
1120
673
|
body:
|
1121
674
|
encoding: UTF-8
|
1122
675
|
string: dkim_selector=mailo1
|
1123
676
|
headers:
|
677
|
+
User-Agent:
|
678
|
+
- mailgun-sdk-ruby/1.3.2
|
1124
679
|
Accept:
|
1125
680
|
- "*/*"
|
1126
|
-
|
1127
|
-
-
|
1128
|
-
Content-Length:
|
1129
|
-
- '20'
|
681
|
+
Authorization:
|
682
|
+
- Basic xxx
|
1130
683
|
Content-Type:
|
1131
684
|
- application/x-www-form-urlencoded
|
1132
685
|
Accept-Encoding:
|
1133
686
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1134
|
-
Host:
|
1135
|
-
- api.mailgun.net
|
1136
|
-
Authorization:
|
1137
|
-
- Basic xxx
|
1138
687
|
response:
|
1139
688
|
status:
|
1140
689
|
code: 200
|
@@ -1147,45 +696,41 @@ http_interactions:
|
|
1147
696
|
Cache-Control:
|
1148
697
|
- no-store
|
1149
698
|
Content-Length:
|
1150
|
-
- '
|
699
|
+
- '36'
|
1151
700
|
Content-Type:
|
1152
701
|
- application/json; charset=utf-8
|
1153
702
|
Date:
|
1154
|
-
-
|
703
|
+
- Mon, 24 Feb 2025 22:44:11 GMT
|
1155
704
|
Strict-Transport-Security:
|
1156
705
|
- max-age=63072000; includeSubDomains
|
1157
706
|
X-Mailgun-Key-Id:
|
1158
|
-
-
|
707
|
+
- c02fd0ba-d8dbad66
|
1159
708
|
X-Xss-Protection:
|
1160
709
|
- 1; mode=block
|
1161
710
|
body:
|
1162
711
|
encoding: UTF-8
|
1163
|
-
string: '{"message":"
|
712
|
+
string: '{"message":"DKIM selector changed"}
|
1164
713
|
|
1165
|
-
'
|
1166
|
-
http_version:
|
1167
|
-
recorded_at:
|
714
|
+
'
|
715
|
+
http_version:
|
716
|
+
recorded_at: Mon, 24 Feb 2025 22:44:11 GMT
|
1168
717
|
- request:
|
1169
718
|
method: put
|
1170
|
-
uri: https://api.mailgun.net/v3/domains/
|
719
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/web_prefix
|
1171
720
|
body:
|
1172
721
|
encoding: UTF-8
|
1173
722
|
string: web_prefix=email
|
1174
723
|
headers:
|
724
|
+
User-Agent:
|
725
|
+
- mailgun-sdk-ruby/1.3.2
|
1175
726
|
Accept:
|
1176
727
|
- "*/*"
|
1177
|
-
|
1178
|
-
-
|
1179
|
-
Content-Length:
|
1180
|
-
- '16'
|
728
|
+
Authorization:
|
729
|
+
- Basic xxx
|
1181
730
|
Content-Type:
|
1182
731
|
- application/x-www-form-urlencoded
|
1183
732
|
Accept-Encoding:
|
1184
733
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1185
|
-
Host:
|
1186
|
-
- api.mailgun.net
|
1187
|
-
Authorization:
|
1188
|
-
- Basic xxx
|
1189
734
|
response:
|
1190
735
|
status:
|
1191
736
|
code: 200
|
@@ -1202,37 +747,35 @@ http_interactions:
|
|
1202
747
|
Content-Type:
|
1203
748
|
- application/json; charset=utf-8
|
1204
749
|
Date:
|
1205
|
-
-
|
750
|
+
- Mon, 24 Feb 2025 22:44:12 GMT
|
1206
751
|
Strict-Transport-Security:
|
1207
752
|
- max-age=63072000; includeSubDomains
|
1208
753
|
X-Mailgun-Key-Id:
|
1209
|
-
-
|
754
|
+
- c02fd0ba-d8dbad66
|
1210
755
|
X-Xss-Protection:
|
1211
756
|
- 1; mode=block
|
1212
757
|
body:
|
1213
758
|
encoding: UTF-8
|
1214
759
|
string: '{"message":"Domain web prefix updated"}
|
1215
760
|
|
1216
|
-
'
|
1217
|
-
http_version:
|
1218
|
-
recorded_at:
|
761
|
+
'
|
762
|
+
http_version:
|
763
|
+
recorded_at: Mon, 24 Feb 2025 22:44:12 GMT
|
1219
764
|
- request:
|
1220
765
|
method: get
|
1221
|
-
uri: https://api.mailgun.net/v4/domains/
|
766
|
+
uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys
|
1222
767
|
body:
|
1223
768
|
encoding: US-ASCII
|
1224
769
|
string: ''
|
1225
770
|
headers:
|
771
|
+
User-Agent:
|
772
|
+
- mailgun-sdk-ruby/1.3.2
|
1226
773
|
Accept:
|
1227
774
|
- "*/*"
|
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
775
|
Authorization:
|
1235
776
|
- Basic xxx
|
777
|
+
Accept-Encoding:
|
778
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1236
779
|
response:
|
1237
780
|
status:
|
1238
781
|
code: 200
|
@@ -1245,45 +788,42 @@ http_interactions:
|
|
1245
788
|
Cache-Control:
|
1246
789
|
- no-store
|
1247
790
|
Content-Length:
|
1248
|
-
- '
|
791
|
+
- '463'
|
1249
792
|
Content-Type:
|
1250
793
|
- application/json; charset=utf-8
|
1251
794
|
Date:
|
1252
|
-
-
|
795
|
+
- Mon, 24 Feb 2025 22:44:12 GMT
|
1253
796
|
Strict-Transport-Security:
|
1254
797
|
- max-age=63072000; includeSubDomains
|
1255
798
|
X-Mailgun-Key-Id:
|
1256
|
-
-
|
799
|
+
- c02fd0ba-d8dbad66
|
1257
800
|
X-Xss-Protection:
|
1258
801
|
- 1; mode=block
|
1259
802
|
body:
|
1260
803
|
encoding: UTF-8
|
1261
|
-
string: '{"items":[{"signing_domain":"
|
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"}}]}
|
1262
806
|
|
1263
|
-
'
|
1264
|
-
http_version:
|
1265
|
-
recorded_at:
|
807
|
+
'
|
808
|
+
http_version:
|
809
|
+
recorded_at: Mon, 24 Feb 2025 22:44:12 GMT
|
1266
810
|
- request:
|
1267
811
|
method: put
|
1268
|
-
uri: https://api.mailgun.net/v4/domains/
|
812
|
+
uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys/mailo1/activate
|
1269
813
|
body:
|
1270
|
-
encoding:
|
814
|
+
encoding: UTF-8
|
1271
815
|
string: ''
|
1272
816
|
headers:
|
817
|
+
User-Agent:
|
818
|
+
- mailgun-sdk-ruby/1.3.2
|
1273
819
|
Accept:
|
1274
820
|
- "*/*"
|
1275
|
-
|
1276
|
-
-
|
1277
|
-
Content-Length:
|
1278
|
-
- '0'
|
821
|
+
Authorization:
|
822
|
+
- Basic xxx
|
1279
823
|
Content-Type:
|
1280
824
|
- application/x-www-form-urlencoded
|
1281
825
|
Accept-Encoding:
|
1282
826
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1283
|
-
Host:
|
1284
|
-
- api.mailgun.net
|
1285
|
-
Authorization:
|
1286
|
-
- Basic xxx
|
1287
827
|
response:
|
1288
828
|
status:
|
1289
829
|
code: 200
|
@@ -1296,45 +836,39 @@ http_interactions:
|
|
1296
836
|
Cache-Control:
|
1297
837
|
- no-store
|
1298
838
|
Content-Length:
|
1299
|
-
- '
|
839
|
+
- '44'
|
1300
840
|
Content-Type:
|
1301
841
|
- application/json; charset=utf-8
|
1302
842
|
Date:
|
1303
|
-
-
|
843
|
+
- Mon, 24 Feb 2025 22:44:13 GMT
|
1304
844
|
Strict-Transport-Security:
|
1305
845
|
- max-age=63072000; includeSubDomains
|
1306
846
|
X-Mailgun-Key-Id:
|
1307
|
-
-
|
847
|
+
- c02fd0ba-d8dbad66
|
1308
848
|
X-Xss-Protection:
|
1309
849
|
- 1; mode=block
|
1310
850
|
body:
|
1311
851
|
encoding: UTF-8
|
1312
|
-
string: '{"message":"domain key activated"
|
852
|
+
string: '{"message":"domain key activated"}
|
1313
853
|
|
1314
|
-
'
|
1315
|
-
http_version:
|
1316
|
-
recorded_at:
|
854
|
+
'
|
855
|
+
http_version:
|
856
|
+
recorded_at: Mon, 24 Feb 2025 22:44:13 GMT
|
1317
857
|
- request:
|
1318
|
-
method:
|
1319
|
-
uri: https://api.mailgun.net/
|
858
|
+
method: get
|
859
|
+
uri: https://api.mailgun.net/v3/integration-test.domain.invalid/stats/total?event=clicked
|
1320
860
|
body:
|
1321
861
|
encoding: US-ASCII
|
1322
862
|
string: ''
|
1323
863
|
headers:
|
864
|
+
User-Agent:
|
865
|
+
- mailgun-sdk-ruby/1.3.2
|
1324
866
|
Accept:
|
1325
867
|
- "*/*"
|
1326
|
-
User-Agent:
|
1327
|
-
- rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
|
1328
|
-
Content-Length:
|
1329
|
-
- '0'
|
1330
|
-
Content-Type:
|
1331
|
-
- application/x-www-form-urlencoded
|
1332
|
-
Accept-Encoding:
|
1333
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1334
|
-
Host:
|
1335
|
-
- api.mailgun.net
|
1336
868
|
Authorization:
|
1337
869
|
- Basic xxx
|
870
|
+
Accept-Encoding:
|
871
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1338
872
|
response:
|
1339
873
|
status:
|
1340
874
|
code: 200
|
@@ -1347,41 +881,93 @@ http_interactions:
|
|
1347
881
|
Cache-Control:
|
1348
882
|
- no-store
|
1349
883
|
Content-Length:
|
1350
|
-
- '
|
884
|
+
- '630'
|
1351
885
|
Content-Type:
|
1352
886
|
- application/json; charset=utf-8
|
1353
887
|
Date:
|
1354
|
-
-
|
888
|
+
- Mon, 24 Feb 2025 22:44:13 GMT
|
1355
889
|
Strict-Transport-Security:
|
1356
890
|
- max-age=63072000; includeSubDomains
|
1357
891
|
X-Mailgun-Key-Id:
|
1358
|
-
-
|
892
|
+
- c02fd0ba-d8dbad66
|
1359
893
|
X-Xss-Protection:
|
1360
894
|
- 1; mode=block
|
1361
895
|
body:
|
1362
896
|
encoding: UTF-8
|
1363
|
-
string: '{"
|
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}}]}
|
1364
905
|
|
1365
|
-
'
|
1366
|
-
http_version:
|
1367
|
-
recorded_at:
|
906
|
+
'
|
907
|
+
http_version:
|
908
|
+
recorded_at: Mon, 24 Feb 2025 22:44:13 GMT
|
1368
909
|
- request:
|
1369
910
|
method: delete
|
1370
|
-
uri: https://api.mailgun.net/
|
911
|
+
uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid
|
1371
912
|
body:
|
1372
913
|
encoding: US-ASCII
|
1373
914
|
string: ''
|
1374
915
|
headers:
|
916
|
+
User-Agent:
|
917
|
+
- mailgun-sdk-ruby/1.3.2
|
1375
918
|
Accept:
|
1376
919
|
- "*/*"
|
1377
|
-
|
1378
|
-
-
|
920
|
+
Authorization:
|
921
|
+
- Basic xxx
|
1379
922
|
Accept-Encoding:
|
1380
923
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1381
|
-
|
1382
|
-
|
924
|
+
response:
|
925
|
+
status:
|
926
|
+
code: 200
|
927
|
+
message: OK
|
928
|
+
headers:
|
929
|
+
Access-Control-Allow-Credentials:
|
930
|
+
- 'true'
|
931
|
+
Access-Control-Allow-Origin:
|
932
|
+
- "*"
|
933
|
+
Cache-Control:
|
934
|
+
- no-store
|
935
|
+
Content-Length:
|
936
|
+
- '55'
|
937
|
+
Content-Type:
|
938
|
+
- application/json; charset=utf-8
|
939
|
+
Date:
|
940
|
+
- Mon, 24 Feb 2025 22:45:36 GMT
|
941
|
+
Strict-Transport-Security:
|
942
|
+
- max-age=63072000; includeSubDomains
|
943
|
+
X-Mailgun-Key-Id:
|
944
|
+
- c02fd0ba-d8dbad66
|
945
|
+
X-Xss-Protection:
|
946
|
+
- 1; mode=block
|
947
|
+
body:
|
948
|
+
encoding: UTF-8
|
949
|
+
string: '{"message":"Domain will be deleted in the background"}
|
950
|
+
|
951
|
+
'
|
952
|
+
http_version:
|
953
|
+
recorded_at: Mon, 24 Feb 2025 22:45:36 GMT
|
954
|
+
- request:
|
955
|
+
method: put
|
956
|
+
uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys/tetetet/deactivate
|
957
|
+
body:
|
958
|
+
encoding: UTF-8
|
959
|
+
string: ''
|
960
|
+
headers:
|
961
|
+
User-Agent:
|
962
|
+
- mailgun-sdk-ruby/1.3.2
|
963
|
+
Accept:
|
964
|
+
- "*/*"
|
1383
965
|
Authorization:
|
1384
966
|
- Basic xxx
|
967
|
+
Content-Type:
|
968
|
+
- application/x-www-form-urlencoded
|
969
|
+
Accept-Encoding:
|
970
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1385
971
|
response:
|
1386
972
|
status:
|
1387
973
|
code: 200
|
@@ -1394,41 +980,39 @@ http_interactions:
|
|
1394
980
|
Cache-Control:
|
1395
981
|
- no-store
|
1396
982
|
Content-Length:
|
1397
|
-
- '
|
983
|
+
- '35'
|
1398
984
|
Content-Type:
|
1399
985
|
- application/json; charset=utf-8
|
1400
986
|
Date:
|
1401
|
-
- Wed,
|
987
|
+
- Wed, 26 Feb 2025 21:54:43 GMT
|
1402
988
|
Strict-Transport-Security:
|
1403
989
|
- max-age=63072000; includeSubDomains
|
1404
990
|
X-Mailgun-Key-Id:
|
1405
|
-
-
|
991
|
+
- c02fd0ba-d8dbad66
|
1406
992
|
X-Xss-Protection:
|
1407
993
|
- 1; mode=block
|
1408
994
|
body:
|
1409
995
|
encoding: UTF-8
|
1410
|
-
string: '{"message":"
|
996
|
+
string: '{"message":"domain key deactivated"}
|
1411
997
|
|
1412
|
-
'
|
1413
|
-
http_version:
|
1414
|
-
recorded_at: Wed,
|
998
|
+
'
|
999
|
+
http_version:
|
1000
|
+
recorded_at: Wed, 26 Feb 2025 21:54:43 GMT
|
1415
1001
|
- request:
|
1416
|
-
method:
|
1417
|
-
uri: https://api.mailgun.net/
|
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
|
1418
1004
|
body:
|
1419
1005
|
encoding: US-ASCII
|
1420
1006
|
string: ''
|
1421
1007
|
headers:
|
1008
|
+
User-Agent:
|
1009
|
+
- mailgun-sdk-ruby/1.3.2
|
1422
1010
|
Accept:
|
1423
1011
|
- "*/*"
|
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
1012
|
Authorization:
|
1431
1013
|
- Basic xxx
|
1014
|
+
Accept-Encoding:
|
1015
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1432
1016
|
response:
|
1433
1017
|
status:
|
1434
1018
|
code: 200
|
@@ -1441,37 +1025,22 @@ http_interactions:
|
|
1441
1025
|
Cache-Control:
|
1442
1026
|
- no-store
|
1443
1027
|
Content-Length:
|
1444
|
-
- '
|
1028
|
+
- '58'
|
1445
1029
|
Content-Type:
|
1446
1030
|
- application/json; charset=utf-8
|
1447
1031
|
Date:
|
1448
|
-
- Wed,
|
1032
|
+
- Wed, 26 Feb 2025 21:57:39 GMT
|
1449
1033
|
Strict-Transport-Security:
|
1450
1034
|
- max-age=63072000; includeSubDomains
|
1035
|
+
X-Mailgun-Key-Id:
|
1036
|
+
- c02fd0ba-d8dbad66
|
1451
1037
|
X-Xss-Protection:
|
1452
1038
|
- 1; mode=block
|
1453
1039
|
body:
|
1454
1040
|
encoding: UTF-8
|
1455
|
-
string: '{"
|
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}}]}
|
1041
|
+
string: '{"message":"success"}
|
1473
1042
|
|
1474
|
-
'
|
1475
|
-
http_version:
|
1476
|
-
recorded_at: Wed,
|
1043
|
+
'
|
1044
|
+
http_version:
|
1045
|
+
recorded_at: Wed, 26 Feb 2025 21:57:39 GMT
|
1477
1046
|
recorded_with: VCR 3.0.3
|