Closed andris9 closed 1 year ago
Extracted getDmarcRecord into separate file
getDmarcRecord
const getDmarcRecord = require('mailauth/lib/dmarc/get-dmarc-record'); const dmarcRecord = getDmarcRecord("ethereal.email"); console.log(dmarcRecord);
Output
{ v: 'DMARC1', p: 'none', pct: 100, rua: 'mailto:re+joqy8fpatm3@dmarc.postmarkapp.com', sp: 'none', aspf: 'r', rr: 'v=DMARC1; p=none; pct=100; rua=mailto:re+joqy8fpatm3@dmarc.postmarkapp.com; sp=none; aspf=r;', isOrgRecord: false }
Extracted
getDmarcRecord
into separate fileExternal usage
Output