Skip to content

Commit

Permalink
Email Dispatch Subject edited to display Form ID
Browse files Browse the repository at this point in the history
  • Loading branch information
augustinecyr committed Apr 7, 2023
1 parent e51756f commit f0a63b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ResponseEntity<String> postContact(@ModelAttribute Contact form) throws I
conSvc.createNewEntry(contact);
System.out.println("Form successfully received from Angular, awaiting HTTP 200 Status");
// after saving in SQL, dispatch this email
emailSvc.dispatchEmailPostContactForm(email, title,
emailSvc.dispatchEmailPostContactForm(email, "Footrix Service Request:" + id,
"Thank you for contacting us, Your service request has been successfully submitted with ID number:" + id
+ ".\n\nWe will reach out to you within 3 working days!");
return ResponseEntity.ok("");
Expand Down

0 comments on commit f0a63b9

Please sign in to comment.