Skip to content
Advertisement

Tag: sendgrid

sendgrid mail sending error upon placing multiple receiver

I’m using const sgMail = require(‘@sendgrid/mail’); and utilizing sendgrid version 7.6.2. When I’m adding two email addresses in array and passing that into send() or sendMultiple() it’s throwing me error like this. here’s the section where I’m putting the multiple emails, here if I pass one email as in form of string the mail is getting triggered. Can anyone please

Advertisement