Skip to content

Commit 092c99d

Browse files
committed
Adds "☰" to the subject of a sample to make sure UTF-8 is working in Subject field.
1 parent 8ad6c7a commit 092c99d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sparkpost-samples-app/src/main/java/com/sparkpost/samples/SendEmailSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private void sendEmail(String from, String[] recipients) throws SparkPostExcepti
6565
// Populate Email Body
6666
TemplateContentAttributes contentAttributes = new TemplateContentAttributes();
6767
contentAttributes.setFrom(new AddressAttributes(from));
68-
contentAttributes.setSubject("Your subject content here. {{yourContent}}");
68+
contentAttributes.setSubject("Your subject content here. {{yourContent}}");
6969
contentAttributes.setText("Your Text content here. {{yourContent}}");
7070
contentAttributes.setHtml("<p>Your <b>HTML</b> content here. {{yourContent}}</p>");
7171
transmission.setContentAttributes(contentAttributes);

0 commit comments

Comments
 (0)