mailgun-ruby 1.2.12 → 1.2.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -377,7 +377,7 @@ http_interactions:
377
377
  Host:
378
378
  - api.mailgun.net
379
379
  Authorization:
380
- - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx
380
+ - Basic xxx
381
381
  response:
382
382
  status:
383
383
  code: 200
@@ -407,4 +407,1071 @@ http_interactions:
407
407
  '
408
408
  http_version:
409
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
1120
+ body:
1121
+ encoding: UTF-8
1122
+ string: dkim_selector=mailo1
1123
+ headers:
1124
+ Accept:
1125
+ - "*/*"
1126
+ User-Agent:
1127
+ - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1128
+ Content-Length:
1129
+ - '20'
1130
+ Content-Type:
1131
+ - application/x-www-form-urlencoded
1132
+ Accept-Encoding:
1133
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1134
+ Host:
1135
+ - api.mailgun.net
1136
+ Authorization:
1137
+ - Basic xxx
1138
+ response:
1139
+ status:
1140
+ code: 200
1141
+ message: OK
1142
+ headers:
1143
+ Access-Control-Allow-Credentials:
1144
+ - 'true'
1145
+ Access-Control-Allow-Origin:
1146
+ - "*"
1147
+ Cache-Control:
1148
+ - no-store
1149
+ Content-Length:
1150
+ - '44'
1151
+ Content-Type:
1152
+ - application/json; charset=utf-8
1153
+ Date:
1154
+ - Sun, 07 Jan 2024 15:21:07 GMT
1155
+ Strict-Transport-Security:
1156
+ - max-age=63072000; includeSubDomains
1157
+ X-Mailgun-Key-Id:
1158
+ - 4b98b89f-5fc6f003
1159
+ X-Xss-Protection:
1160
+ - 1; mode=block
1161
+ body:
1162
+ encoding: UTF-8
1163
+ string: '{"message":"Domain DKIM authority changed"}
1164
+
1165
+ '
1166
+ http_version:
1167
+ recorded_at: Sun, 07 Jan 2024 15:21:07 GMT
1168
+ - request:
1169
+ method: put
1170
+ uri: https://api.mailgun.net/v3/domains/DOMAIN.TEST/web_prefix
1171
+ body:
1172
+ encoding: UTF-8
1173
+ string: web_prefix=email
1174
+ headers:
1175
+ Accept:
1176
+ - "*/*"
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
+ Authorization:
1188
+ - Basic xxx
1189
+ response:
1190
+ status:
1191
+ code: 200
1192
+ message: OK
1193
+ headers:
1194
+ Access-Control-Allow-Credentials:
1195
+ - 'true'
1196
+ Access-Control-Allow-Origin:
1197
+ - "*"
1198
+ Cache-Control:
1199
+ - no-store
1200
+ Content-Length:
1201
+ - '40'
1202
+ Content-Type:
1203
+ - application/json; charset=utf-8
1204
+ Date:
1205
+ - Sun, 07 Jan 2024 15:25:25 GMT
1206
+ Strict-Transport-Security:
1207
+ - max-age=63072000; includeSubDomains
1208
+ X-Mailgun-Key-Id:
1209
+ - 4b98b89f-5fc6f003
1210
+ X-Xss-Protection:
1211
+ - 1; mode=block
1212
+ body:
1213
+ encoding: UTF-8
1214
+ string: '{"message":"Domain web prefix updated"}
1215
+
1216
+ '
1217
+ http_version:
1218
+ recorded_at: Sun, 07 Jan 2024 15:25:25 GMT
1219
+ - request:
1220
+ method: get
1221
+ uri: https://api.mailgun.net/v4/domains/DOMAIN.TEST/keys
1222
+ body:
1223
+ encoding: US-ASCII
1224
+ string: ''
1225
+ headers:
1226
+ Accept:
1227
+ - "*/*"
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
+ Authorization:
1235
+ - Basic xxx
1236
+ response:
1237
+ status:
1238
+ code: 200
1239
+ message: OK
1240
+ headers:
1241
+ Access-Control-Allow-Credentials:
1242
+ - 'true'
1243
+ Access-Control-Allow-Origin:
1244
+ - "*"
1245
+ Cache-Control:
1246
+ - no-store
1247
+ Content-Length:
1248
+ - '444'
1249
+ Content-Type:
1250
+ - application/json; charset=utf-8
1251
+ Date:
1252
+ - Sun, 07 Jan 2024 15:34:00 GMT
1253
+ Strict-Transport-Security:
1254
+ - max-age=63072000; includeSubDomains
1255
+ X-Mailgun-Key-Id:
1256
+ - 4b98b89f-5fc6f003
1257
+ X-Xss-Protection:
1258
+ - 1; mode=block
1259
+ body:
1260
+ 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":""}}]}
1262
+
1263
+ '
1264
+ http_version:
1265
+ recorded_at: Sun, 07 Jan 2024 15:34:00 GMT
1266
+ - request:
1267
+ method: put
1268
+ uri: https://api.mailgun.net/v4/domains/DOMAIN.TEST/keys/smtp/activate
1269
+ body:
1270
+ encoding: US-ASCII
1271
+ string: ''
1272
+ headers:
1273
+ Accept:
1274
+ - "*/*"
1275
+ User-Agent:
1276
+ - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57
1277
+ Content-Length:
1278
+ - '0'
1279
+ Content-Type:
1280
+ - application/x-www-form-urlencoded
1281
+ Accept-Encoding:
1282
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1283
+ Host:
1284
+ - api.mailgun.net
1285
+ Authorization:
1286
+ - Basic xxx
1287
+ response:
1288
+ status:
1289
+ code: 200
1290
+ message: OK
1291
+ headers:
1292
+ Access-Control-Allow-Credentials:
1293
+ - 'true'
1294
+ Access-Control-Allow-Origin:
1295
+ - "*"
1296
+ Cache-Control:
1297
+ - no-store
1298
+ Content-Length:
1299
+ - '101'
1300
+ Content-Type:
1301
+ - application/json; charset=utf-8
1302
+ Date:
1303
+ - Sun, 07 Jan 2024 15:51:10 GMT
1304
+ Strict-Transport-Security:
1305
+ - max-age=63072000; includeSubDomains
1306
+ X-Mailgun-Key-Id:
1307
+ - 4b98b89f-5fc6f003
1308
+ X-Xss-Protection:
1309
+ - 1; mode=block
1310
+ body:
1311
+ encoding: UTF-8
1312
+ string: '{"message":"domain key activated","authority":"DOMAIN.TEST","selector":"smtp","active":true}
1313
+
1314
+ '
1315
+ http_version:
1316
+ recorded_at: Sun, 07 Jan 2024 15:51:11 GMT
1317
+ - request:
1318
+ method: put
1319
+ uri: https://api.mailgun.net/v4/domains/DOMAIN.TEST/keys/smtp/deactivate
1320
+ body:
1321
+ encoding: US-ASCII
1322
+ string: ''
1323
+ headers:
1324
+ Accept:
1325
+ - "*/*"
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
+ Authorization:
1337
+ - Basic xxx
1338
+ response:
1339
+ status:
1340
+ code: 200
1341
+ message: OK
1342
+ headers:
1343
+ Access-Control-Allow-Credentials:
1344
+ - 'true'
1345
+ Access-Control-Allow-Origin:
1346
+ - "*"
1347
+ Cache-Control:
1348
+ - no-store
1349
+ Content-Length:
1350
+ - '101'
1351
+ Content-Type:
1352
+ - application/json; charset=utf-8
1353
+ Date:
1354
+ - Sun, 07 Jan 2024 15:51:10 GMT
1355
+ Strict-Transport-Security:
1356
+ - max-age=63072000; includeSubDomains
1357
+ X-Mailgun-Key-Id:
1358
+ - 4b98b89f-5fc6f003
1359
+ X-Xss-Protection:
1360
+ - 1; mode=block
1361
+ body:
1362
+ encoding: UTF-8
1363
+ string: '{"message":"domain key deactivated","authority":"DOMAIN.TEST","selector":"smtp","active":false}
1364
+
1365
+ '
1366
+ http_version:
1367
+ recorded_at: Sun, 07 Jan 2024 15:51:19 GMT
1368
+ - request:
1369
+ method: delete
1370
+ uri: https://api.mailgun.net/v1/dkim/keys?selector=test&signing_domain=DOMAIN.TEST
1371
+ body:
1372
+ encoding: US-ASCII
1373
+ string: ''
1374
+ headers:
1375
+ Accept:
1376
+ - "*/*"
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
+ Authorization:
1384
+ - Basic xxx
1385
+ response:
1386
+ status:
1387
+ code: 200
1388
+ message: OK
1389
+ headers:
1390
+ Access-Control-Allow-Credentials:
1391
+ - 'true'
1392
+ Access-Control-Allow-Origin:
1393
+ - "*"
1394
+ Cache-Control:
1395
+ - no-store
1396
+ Content-Length:
1397
+ - '22'
1398
+ Content-Type:
1399
+ - application/json; charset=utf-8
1400
+ Date:
1401
+ - Wed, 10 Jan 2024 14:13:34 GMT
1402
+ Strict-Transport-Security:
1403
+ - max-age=63072000; includeSubDomains
1404
+ X-Mailgun-Key-Id:
1405
+ - 4b98b89f-5fc6f003
1406
+ X-Xss-Protection:
1407
+ - 1; mode=block
1408
+ body:
1409
+ encoding: UTF-8
1410
+ string: '{"message":"success"}
1411
+
1412
+ '
1413
+ http_version:
1414
+ recorded_at: Wed, 10 Jan 2024 14:13:34 GMT
1415
+ - 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
1418
+ body:
1419
+ encoding: US-ASCII
1420
+ string: ''
1421
+ headers:
1422
+ Accept:
1423
+ - "*/*"
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
+ Authorization:
1431
+ - Basic xxx
1432
+ response:
1433
+ status:
1434
+ code: 200
1435
+ message: OK
1436
+ headers:
1437
+ Access-Control-Allow-Credentials:
1438
+ - 'true'
1439
+ Access-Control-Allow-Origin:
1440
+ - "*"
1441
+ Cache-Control:
1442
+ - no-store
1443
+ Content-Length:
1444
+ - '1639'
1445
+ Content-Type:
1446
+ - application/json; charset=utf-8
1447
+ Date:
1448
+ - Wed, 10 Jan 2024 14:40:48 GMT
1449
+ Strict-Transport-Security:
1450
+ - max-age=63072000; includeSubDomains
1451
+ X-Xss-Protection:
1452
+ - 1; mode=block
1453
+ body:
1454
+ 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}}]}
1473
+
1474
+ '
1475
+ http_version:
1476
+ recorded_at: Wed, 10 Jan 2024 14:40:47 GMT
410
1477
  recorded_with: VCR 3.0.3