Skip to content

Commit 26bfb18

Browse files
committed
Puts code back in that was accidentallylly commented out to test error handling.
1 parent 663bf0a commit 26bfb18

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
@@ -64,7 +64,7 @@ private void sendEmail(String from, String[] recipients) throws SparkPostExcepti
6464

6565
// Populate Email Body
6666
TemplateContentAttributes contentAttributes = new TemplateContentAttributes();
67-
//contentAttributes.setFrom(new AddressAttributes(from));
67+
contentAttributes.setFrom(new AddressAttributes(from));
6868
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>");

0 commit comments

Comments
 (0)