-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contact us form email.js #228
Contact us form email.js #228
Conversation
@Aaishpra @khushishikhu The emailjs setup is same as in this article( https://medium.com/weekly-webtips/simple-react-contact-form-without-back-end-9fa06eff52d9 ) but I have used a different method to handle forms! Also, don't forget to set up the .enn files as well! Let me know about the changes! |
@akshay1027 can you please write the instructions in the Readme.md of how to set up the .env file |
I myself, don't know how to use .env files in next js and also in frontend. Or else I would have done that as well. I would be happy to learn from you! While I tested, I directly used the API keys... @khushishikhu @Aaishpra |
@K-Kumar-01 can you help with this. |
@Aaishpra we first have to setup the mail, so we have to do it in email.js website, if you can give me your mail and password, I can do this for you. I have asked @khushishikhu but have not got any reply yet |
@khushishikhu said there can be any security issues, so What I suggested is create a seperate google account for managing this , we can use that mail account, let me know if you have any better idea @Aaishpra @K-Kumar-01 |
I get it, and i think this can be done after someone reviews the code for us @akshay1027 first we need to finalize (might use a dummy id for this) and when every thing works fine we can go forward using the organisation's email, which can be done by me or @khushishikhu |
Cool! Got it 🙌🏻 |
@akshay1027 |
Okay I will try 🙌🏻, you guys tested it ? Facing any problems ? |
https://www.youtube.com/watch?v=NgWGllOjkbs check out this video , i learnt from here @K-Kumar-01 |
@akshay1027 @Aaishpra the code seems fine to me. I think the key needs to be generated for which you can have a discussion with @akshay1027 |
@khushishikhu even if I set up the .env file, will I be able to push it? I think we cant push files which proceeds with dot " |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/feminine-divine/periodo/GBeuysm1BbaSjFj1CxxFC68wEgnN |
i have made the changes and tested it @khushishikhu @K-Kumar-01! now you just have to add API keys in the .env file :) |
@akshay1027 |
conflicts resolved |
Thanks for this @akshay1027 i will be free in a day or two and then we can have discussion on discord about this. Thanks for your patience |
@akshay1027 can you please resolve the conflicts. Then I will add the credentials of .env file after merging this PR. It is actually working quite well. Thank you for your efforts |
Hey @khushishikhu, am not able to resolve the yarn.lock and package-lock files, My laptop is getting hanged whenever I open them! Can you please resolve them |
@akshay1027 I see there are so many conflicts and difficult to resolve. If you are comfortable can you please open another PR like this one only to not face this thing. |
That's a good idea!! Also shall I just send the code? Like can you manually install the packages, because the problem is occurring as different people are using yarn or npm to install packages. |
Description
Issue FIXES #185
Describe the changes you've made
changed div tag to Form tag, used the form "on submitting" method to handle forms and state! added subject input box as well!
Screenshots:
Checklist