UKHomeOffice / lev

Life Event Verification service prototype monorepo
https://lev-docs.netlify.app/
0 stars 1 forks source link

feature: send feedback emails to lev-service #44

Open haggishunt56 opened 2 years ago

haggishunt56 commented 2 years ago

This ticket can't be fully completed at present as we require a mail server to be set up. I attempted to implement a quick-fix by changing the form submit button to a mailto hyperlink instead, however I am unable to get the React code to access the HTML elements or their properties in order to populate the email. Instead we have decided to remove the HTML form and use the hyperlink to populate an email address and subject, and allow the user to enter the email body manually. The email address is populated using environment variables from the levops repo.