From 5165da9ca103f1ab4b824adb1323ae6c3a863119 Mon Sep 17 00:00:00 2001 From: Vijaya Krishna Pondala Date: Wed, 11 Oct 2017 22:50:04 +1100 Subject: [PATCH] Fixed the typo in HTML tag (hi -> h1) --- email/src/main/java/demo/DemoApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email/src/main/java/demo/DemoApplication.java b/email/src/main/java/demo/DemoApplication.java index 34f0934..bae1377 100644 --- a/email/src/main/java/demo/DemoApplication.java +++ b/email/src/main/java/demo/DemoApplication.java @@ -26,7 +26,7 @@ class EmailRestController { @RequestMapping("/email") SendGrid.Response email(@RequestParam String message) throws Exception { SendGrid.Email email = new SendGrid.Email(); - email.setHtml("" + message + ""); + email.setHtml("

" + message + "

"); email.setText(message); email.setTo(new String[] { "user1@host.io" }); email.setToName(new String[] { "Josh" });