How to fix subject line getting encoded in Sendgrid email subject line

Just spent an hour on this making sure there were no random encoding anywhere on OddsRabbit's backend on newsletter subject lines (we're currently using SendGrid).

Finally found the fix, if you're using dynamic templates, make sure you use triple curly brackets in the dynamic template's subject line ex. {{{subject}}} 

This will prevent SendGrid from automatically encoding your subject line.

Hope this helps!

1 0Share
Leave a comment

Comments

No comments yet. Why don't you leave the first?

Sendgrid

/c/sendgrid

A space for SendGrid users to collaborate, share knowledge, and solve email delivery challenges. Whether you're integrating APIs, optimizing deliverability, or managing email campaigns, you'll find resources and fellow professionals here.

Topics include:

  • API integration tips and code examples
  • Email deliverability optimization
  • DKIM, SPF, and email authentication
  • Template design and dynamic content
  • Webhooks and event tracking
  • Compliance and best practices
Load more

Moderators