Skip to main content

apiverve_dmarcvalidator 1.2.3 copy "apiverve_dmarcvalidator: ^1.2.3" to clipboard
apiverve_dmarcvalidator: ^1.2.3 copied to clipboard

DMARC Validator is a DMARC record validator API that checks the Domain-based Message Authentication, Reporting and Conformance (DMARC) record for a domain to ensure it is correctly configured.

DMARC Validator API - Dart/Flutter Client #

DMARC Validator is a DMARC record validator API that checks the Domain-based Message Authentication, Reporting and Conformance (DMARC) record for a domain to ensure it is correctly configured.

pub package License: MIT

This is the Dart/Flutter client for the DMARC Validator API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_dmarcvalidator: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_dmarcvalidator/apiverve_dmarcvalidator.dart';

void main() async {
  final client = DmarcvalidatorClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'domain': 'paypal.com'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "host": "paypal.com",
    "dmarcHost": "_dmarc.paypal.com",
    "hasDmarc": true,
    "dmarc_record": "v=DMARC1; p=reject; rua=mailto:d@rua.agari.com,mailto:dmarc_agg@vali.email; ruf=mailto:d@ruf.agari.com,mailto:MTc4Mzcw@ruf.vali.email",
    "rua": {
      "email": "d@rua.agari.com,dmarc_agg@vali.email",
      "domain": "rua.agari.com",
      "valid": true
    },
    "ruf": {
      "email": "d@ruf.agari.com,MTc4Mzcw@ruf.vali.email",
      "domain": "ruf.agari.com",
      "valid": true
    },
    "v": "DMARC1",
    "p": "reject",
    "sp": null,
    "pct": null,
    "adkim": null,
    "aspf": null,
    "fo": null,
    "rf": null,
    "ri": null,
    "valid": true,
    "issues": [],
    "isEnforced": true,
    "riskScore": 5,
    "riskLevel": "low"
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
120
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

DMARC Validator is a DMARC record validator API that checks the Domain-based Message Authentication, Reporting and Conformance (DMARC) record for a domain to ensure it is correctly configured.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_dmarcvalidator