-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
[bug]: Make contact form working #26
[bug]: Make contact form working #26
Comments
Can I have a shot at this one? |
Go ahead! |
Any updates? @TimeglitchD |
I can't seem to get the setup working, so it's probably not fair to keep it assigned to me, feel free to assign someone else. Sorry for the inconvenience! |
@TimeglitchD |
Hey, I'm interested to solve this bug and want to contribute to this amazing project on this Hacktoberfest 2021 |
Alright, assigning it to you! |
Before stating development , would you like to help me by answering my following queries ? ->
|
Also, the email that the admin will receive should be a HTML template. @ThisIsBBBGithubAc |
Hi, i have one more query regarding Hacktoberfest 2021. I saw list of company's repository and individual's repository in Hacktoberfest official website. So to win a swag , do i need to do something else ? and who will provide the Hacktoberfest Swag gift if someone contributed to some individual's repository but not in the participating company's repository? |
It is not compulsory to contribute in the participating company's respository. Once you complete 4 successful PRs, you'll receive mail from Hacktoberfest where you need to order your TShirt |
Okay. Thank you
…On Tue, 26 Oct 2021, 6:53 pm Ashutosh Krishna, ***@***.***> wrote:
It is not compulsory to contribute in the participating company's
respository.
You can contribute to any respository that has hacktoberfest label. And
yes, contributing to this respository will count towards your Hacktoberfest
Contribution
Once you complete 4 successful PRs, you'll receive mail from Hacktoberfest
where you need to order your TShirt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQK5EYIFZXZPDT2KMUCDRQDUI2TTJANCNFSM5GNYSSAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Since, I'm fixing one bug , how to do 4 pull requests. I'm little confused with this thing! How to do this? Do i have to commit and PR this development into 4 different parts of codes or what? |
You need to resolve four issues and create four different PRs. The repository can be one or more than one, doesn't matter. But it should have hacktoberfest label on it. |
Also, share what changes have you done so far? |
Hi, please check: https://github.com/ThisIsBBBGithubAc/EazyLoader.git |
Did you set |
Yeah, i used ADMIN_EMAIL in .env and other configurations related to flask_mail in config.py and also reactivated the virtual environment.....but still getting the same error. |
In the MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_USERNAME = config("EMAIL_ADDRESS")
MAIL_PASSWORD = config("EMAIL_PASSWORD")
MAIL_DEBUG = True I suppose, you haven't added these. @ThisIsBBBGithubAc
|
I used these:
|
Try replacing with the one that I sent you. |
Yes, i have tried all these ......but getting the same error |
Can you update your branch with the latest changes so that I can test it. |
Well, I tried with the changes you have made till now. class Config(object):
SECRET_KEY = config('SECRET_KEY') or 'guess-me'
DEBUG = False
TESTING = False
CSRF_ENABLED = True
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_USERNAME = config("EMAIL_ADDRESS")
MAIL_PASSWORD = config("EMAIL_PASSWORD")
MAIL_DEBUG = True And it worked fine for me. |
Yeah, my previous codes have started working now. What i was doing wrong is i was using commas(,) for each line in config.py file like this:
It started working after i remove these commas. Thank you |
Great to hear that! |
Sure |
Wait, I'll send you the URL |
@ThisIsBBBGithubAc |
image through https://i.imgur.com/971aIwi.png was not loaded, since this link is returning the image with html page |
Okay, Now it's working |
Amazing!!! |
After form Submission Success, do you want this to show :
or
|
Just flash the message and redirect to the contact form section again. |
Hi, please check: https://github.com/ThisIsBBBGithubAc/EazyLoader , recently updated, bug fixed. |
Looks good to me! |
i didn't understand this "Take the latest pull from this repo".....why is this necessary ? |
To avoid merge conflicts Go to this respository's home page and you'll find an option to fetch upstream. |
Is there an existing issue for this?
Describe the feature.
The contact form(on the homepage) is not working as of now.
Problem/Motivation.
If somebody faces any issue, they can report using the contact form.
Possible Solution/Pitch.
Instead of saving the contact form data in any database, we can use Flask-Mail to mail the contact form data to the admin email.
Make sure you use HTML templates for the email.
Anything else?
This is a beginner-friendly backend issue.
Hacktoberfest
Code of Conduct
The text was updated successfully, but these errors were encountered: