I want to use the EmailJS service to send info from a contact form. However, I have several issues
In the head section should add the following script
<script type="text/javascript"> (function() { emailjs.init('my-token'); })(); </script>
How can I hide that token? I have tried storing it in the .env
file and accessing it with
emailjs.init(`${process.env.REACT_APP_INIT_KEY}`);
But that didn't work.