Skip to content

Commit

Permalink
Update SendgridService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitvijay45 committed Dec 13, 2023
1 parent 065f5f7 commit e6615b4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public void sendEmail(CaseData caseData, String subject, DocumentType documentTy
log.info("Inside sendEmail method of SendGrid class for case : {}", caseData.getHyphenatedCaseRef());
Content content = new Content(LOCAL_COURT_EMAIL_SENDGRID_CONTENT_TYPE, LOCAL_COURT_EMAIL_SENDGRID_CONTENT_BODY);

log.info("From email: {}",sendGridNotifyFromEmail);
log.info("Sendgrid email to be sent to court address: {} ",caseData.getFamilyCourtEmailId());
Mail mail = new Mail(new Email(sendGridNotifyFromEmail), subject, new Email("mohit.vijay@hmcts.net"), content);
AdoptionDocument adoptionDocument = caseData.getDocumentsGenerated().stream().map(ListValue::getValue)
Expand Down

0 comments on commit e6615b4

Please sign in to comment.