Skip to content

Commit

Permalink
update email
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Oct 26, 2023
1 parent 3dbd995 commit d9d412c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
requests==2.31.0
pytelegrambotapi==4.13.0
pytelegrambotapi==4.14.0
beautifulsoup4==4.12.2
tgbot-ping==1.0.7
redis==5.0.0
redis==5.0.1
apscheduler==3.10.4
pymongo==4.5.0
tornado==6.3.3
captcha==0.5.0
passlib==1.7.4
fakeredis==2.18.0
fakeredis==2.19.0
filetype==1.2.0
requests[socks]
tqdm==4.66.1
Expand All @@ -19,5 +19,5 @@ openpyxl==3.1.2
zhconv==1.4.3
jinja2==3.1.2
coloredlogs==15.0.1
meilisearch==0.28.2
meilisearch==0.28.3
pillow==9.5.0
2 changes: 1 addition & 1 deletion yyetsweb/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def send_mail(to: str, subject: str, context: dict):
password = os.getenv("email_password")
host = os.getenv("email_host", "localhost")
port = os.getenv("email_port", "1025") # mailhog
from_addr = os.getenv("from_addr", "[email protected]")
from_addr = os.getenv("from_addr", "[email protected]")

msg = MIMEText(generate_body(context), "html", "utf-8")
msg["From"] = _format_addr("YYeTs <%s>" % from_addr)
Expand Down

0 comments on commit d9d412c

Please sign in to comment.