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

Added Email functionality to Contact Us Page #119

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

deveshsawant05
Copy link

@deveshsawant05 deveshsawant05 commented Oct 21, 2024

Solved Issue #117
Added Email Functionality to ContactUs Page
Key Changes:

  1. Created a new API endpoint /api/sendEmail to handle form submissions and send emails.

  2. Integrated Nodemailer to send emails to [email protected].

  3. Added environment variables for email credentials:

  • EMAIL_USER= (for the sender email)
  • EMAIL_PASSWORD= (for the sender email password)
  1. All form fields (Name, Email, Contact No., Organisation, Message/Bug) are included in the email body.
    Screenshot 2024-10-22 025748

  2. Error handling for cases like email sending failure, with user feedback provided on form submission.
    Screenshot 2024-10-22 025839

@Anas-github-acc Anas-github-acc merged commit c64f9f6 into iiitv:new Oct 22, 2024
1 check failed
@Anas-github-acc Anas-github-acc added contribute-a-thon Issues for contribute-a-thon hacktoberfest labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribute-a-thon Issues for contribute-a-thon hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants