Open sup-Udh opened 2 years ago
The Error-
[ { email: 'udhay1co.de@gmail.com', status: 'rejected', _id: 'eb31ad9effcf4c0084484496fe3eff2d', reject_reason: 'unsigned' } ]
the code-
const mailchimp = require("@mailchimp/mailchimp_transactional")( "HIDDEN API KEY", ); export default function test(){ const message = { from_email: "udhay1co.de@gmail.com", subject: "Hello world", text: "Welcome to Mailchimp Transactional!", to: [ { email: "udhay1co.de@gmail.com", type: "to" } ] }; async function run() { const response = await mailchimp.messages.send({ message }); console.log(response); } run(); }
does anyone know why this happens?
The Error-
the code-
does anyone know why this happens?