sendgrid
sendgrid copied to clipboard
Cannot convert value of type - EmailContent
if I try to use 5.0.0 I get error: "Cannot convert value of type '[String : String]' to expected element type 'Array<EmailContent>.ArrayLiteralElement' (aka 'EmailContent')" for
let email = SendGridEmail(
personalizations: [emailConfig],
from: fromEmail,
content: [["type": "text/html", "value": emailContent]])
With 4.0.0 it works fine...