We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
works not: data = { 'Messages': [ { "From": { "Email": "$SENDER_EMAIL", "Name": "Me" }, "To": [ { "Email": "$RECIPIENT_EMAIL", "Name": "You" } ], "Subject": "My first Mailjet Email!", "TextPart": "Greetings from Mailjet!", "HTMLPart": "
works: data = { 'Messages': [ { "FromEmail": "MAIL", "FromName": "Me", "Recipients": [ { "Email": "MAIL", "Name": "You" } ], "Subject": subject, "TextPart": text, "HTMLPart": html } ] }
The text was updated successfully, but these errors were encountered:
forget to use new api 3.1
Sorry, something went wrong.
No branches or pull requests
works not:
data = {
'Messages': [
{
"From": {
"Email": "$SENDER_EMAIL",
"Name": "Me"
},
"To": [
{
"Email": "$RECIPIENT_EMAIL",
"Name": "You"
}
],
"Subject": "My first Mailjet Email!",
"TextPart": "Greetings from Mailjet!",
"HTMLPart": "
Dear passenger 1, welcome to <a href="https://www.mailjet.com/">Mailjet!
May the delivery force be with you!"
}
]
}
works:
data = {
'Messages': [
{
"FromEmail": "MAIL",
"FromName": "Me",
"Recipients": [
{
"Email": "MAIL",
"Name": "You"
}
],
"Subject": subject,
"TextPart": text,
"HTMLPart": html
}
]
}
The text was updated successfully, but these errors were encountered: