Newsletter

所属分类:后台框架
开发工具:HTML
文件大小:16KB
下载次数:0
上传日期:2021-09-26 14:06:28
上 传 者sh-1993
说明:  使用烧瓶的新闻稿订阅应用程序
(Newsletter Subscription Application using Flask)

文件列表:
LICENSE (1066, 2021-09-26)
__pycache__ (0, 2021-09-26)
__pycache__\mail.cpython-39.pyc (1497, 2021-09-26)
__pycache__\models.cpython-39.pyc (557, 2021-09-26)
app.py (691, 2021-09-26)
database.db (12288, 2021-09-26)
img.jpg (8409, 2021-09-26)
mail.py (1350, 2021-09-26)
message.txt (69, 2021-09-26)
models.py (306, 2021-09-26)
requirements.txt (48, 2021-09-26)
schema.sql (115, 2021-09-26)
templates (0, 2021-09-26)
templates\failure.html (717, 2021-09-26)
templates\index.html (2273, 2021-09-26)
templates\success.html (654, 2021-09-26)

## Newsletter This application takes input (name, email) from user through front end and then processes the data and adds the user to database if they are not in it. The user recieves a mail as a conformation for subscribing to the newletter and if any error is generated in this process, user gets the appropriate message. # Instructions Before running the app.py file make these changes. 1)Go to your gmail account settings and turn on Less secure app access. 2)Either run these 2 commands in terminal to set up enviornment varibles or change value in mail.py file at line 9 and 10: export EMAIL_ADDRESS="enter your email address here" export EMAIL_PASSWORD="enter your password here" After these steps you can run the app.py file.

近期下载者

相关文件


收藏者