I need help adding a registered symbol in my email output so when the customer recives the email they see registered symobil next to the first word "FSFS in the subject line. I tried usinf ® but it doesnt work.
String fullName = profile.getAddress().getFirstName() + " " + profile.getAddress().getLastName();
String html = b.toString()
.replace("[insertName]", fullName)
.replace("[trackingnumber]", claim.getClPicNbr().toString())
.replace("[MM/DD/YY]", dateNow)
.replace("[CLAIMID]", claim.getClId().toString());
email.postMail(recipients, "[email protected]",
"FSFS® Insurance Claim Received",** I need the registered symbol here
html);
Email is not (always) HTML based, and the entity you are using there is ® (again, not really for email). You could use the symbol itself or the unicode \u00AE by changing this
"FSFS® Insurance Claim Received"
to
"FSFS® Insurance Claim Received"
or
"FSFS\u00AE Insurance Claim Received"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With