79245009

Date: 2024-12-02 17:25:08
Score: 1
Natty:
Report link

If someone is still looking to solve this problem, you can find the answer in the description of npmjs.com : https://www.npmjs.com/package/@getbrevo/brevo

Since the v2.1.1 you have to do like this :

const brevo = require('@getbrevo/brevo');
let apiInstance = new brevo.TransactionalEmailsApi();

let apiKey = apiInstance.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';

let sendSmtpEmail = new brevo.SendSmtpEmail();
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Enzo