Skip to content
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

how do i connect contact page #53

Open
GnaneshNayak opened this issue Mar 22, 2023 · 9 comments
Open

how do i connect contact page #53

GnaneshNayak opened this issue Mar 22, 2023 · 9 comments

Comments

@GnaneshNayak
Copy link

GnaneshNayak commented Mar 22, 2023

im unable setup contact page plz help me withit

@mayankjain25
Copy link

The contact page used by Hamish has his own APIs set up on AWS Serverless Functions (if i remember correctly). If you want to set up a contact section of your own, you have to use different JS libraries (like EmailJS).

@Idoesfrontend
Copy link

@mayankjain25 Any chance that you could post your contact.js assuming that you implemented something like EmailJS?

@mayankjain25
Copy link

mayankjain25 commented Apr 8, 2023

@mayankjain25 Any chance that you could post your contact.js assuming that you implemented something like EmailJS?

I did use EmailJS for the same.
Here's the code snippet: https://codefile.io/f/zxrzNAWxx3Rb7UEgKkGn
Just replace line 39,40,and 42 with your own service id, user id and template id

@Idoesfrontend
Copy link

@mayankjain25 hey man, was there an error with copying/pasting? code randomly ends on line 127

@mayankjain25
Copy link

@mayankjain25 hey man, was there an error with copying/pasting? code randomly ends on line 127

Have updated the code again.
Looks like I copied the same thing twice and that too incorrectly.
Apologies ;-;

And by the way, replace line 52, 53 and 55 with your own values.

@Tresillo2017
Copy link

@mayankjain25 hey man, was there an error with copying/pasting? code randomly ends on line 127

Have updated the code again. Looks like I copied the same thing twice and that too incorrectly. Apologies ;-;

And by the way, replace line 52, 53 and 55 with your own values.

It's work but, what do you have to put on the email template for it to read the email and message content sent from the web?

@meweedan
Copy link

@mayankjain25 hey man, was there an error with copying/pasting? code randomly ends on line 127

Have updated the code again. Looks like I copied the same thing twice and that too incorrectly. Apologies ;-;
And by the way, replace line 52, 53 and 55 with your own values.

It's work but, what do you have to put on the email template for it to read the email and message content sent from the web?

still haven't figured this out yet, would appreciate your help if you managed to figure out how to read the user email and message contents.

@mayankjain25
Copy link

@mayankjain25 hey man, was there an error with copying/pasting? code randomly ends on line 127

Have updated the code again. Looks like I copied the same thing twice and that too incorrectly. Apologies ;-;
And by the way, replace line 52, 53 and 55 with your own values.

It's work but, what do you have to put on the email template for it to read the email and message content sent from the web?

still haven't figured this out yet, would appreciate your help if you managed to figure out how to read the user email and message contents.

I remember having a hard time making the perfect settings for EmailJS to work on their website/dashboard.
Will share the changes that I made as soon as possible.

@meweedan
Copy link

@mayankjain25 hey man, was there an error with copying/pasting? code randomly ends on line 127

Have updated the code again. Looks like I copied the same thing twice and that too incorrectly. Apologies ;-;
And by the way, replace line 52, 53 and 55 with your own values.

It's work but, what do you have to put on the email template for it to read the email and message content sent from the web?

still haven't figured this out yet, would appreciate your help if you managed to figure out how to read the user email and message contents.

I remember having a hard time making the perfect settings for EmailJS to work on their website/dashboard. Will share the changes that I made as soon as possible.

I'm still trying to figure it out, any assistance would be greatly appreciated bro :) I got everything working but the {{userEmail}} and {{userMessage}} parts are still rendering empty for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants