user2954587
user2954587

Reputation: 4861

Use emoticon in subject line for sendgrid email

How can I use an emoticon in a subject line in an email?

I would like to use the rocket. I tried adding the HTML decimal entity in the subject string. However this is rendering as the characters and not the rocket.

"Launch 🚀"

Upvotes: 1

Views: 4376

Answers (2)

Dylan Moore
Dylan Moore

Reputation: 550

Subject lines don't get rendered as HTML in email clients. What you want to do is send the literal character, ie: Launch 🚀.

Upvotes: 4

Christian Screen
Christian Screen

Reputation: 56

We use sendgrid via java and the following string text to provide this html code effectively in the subject line, \uD83D\uDE80, so for example, [dlh.io] Initial Data Sync Complete \uD83D\uDE80, works like a charm.

Email from dlh.io

Upvotes: 0

Related Questions