Skip to main content

Some SendGrid HTML codes not working?

  • November 11, 2019
  • 1 reply
  • 0 views

Hi everyone, I could use your help! I’m hoping to set up an auto-fill email with some text highlighted using the SendGrid block. When I type “This is < mark > test < / mark > text” (without the spaces) I get the following in the SendGrid preview:

However, when I send the test email, it shows up like this:

Is there something I might be missing, or will it just be impossible to send highlighted text using SendGrid?

Thanks!

1 reply

Forum|alt.badge.img+19
  • Inspiring
  • 3264 replies
  • November 11, 2019

If the receiver of the email message is going to be viewing it in a web-based email (Hotmail, Gmail, Yahoo, etc…) or an email client that supports HTML views, then a cross-site scripting injection into the body of the message is definitely a concern - XSS can happen anywhere and at anytime - even while the SMTP message payload is in transit.

I have a hunch that this is simply SendGrid sanitizing the HTML yo ensure injection attacks are less possible. I would check with SendGrid - this is not an Airtable issue.


Reply