Skip to content

Commit

Permalink
mail-server: set email sender name
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSavage committed Nov 24, 2024
1 parent 977a0f4 commit 6907233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-mail/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def send_mail():
return jsonify({"message": "Email needs a subject and recipient"}), 400

# Create the email message
message = Message(subject, sender=(app.config['DEFAULT_SENDER'], app.config['DEFAULT_SENDER']), recipients=[recipient], body=body)
message = Message(subject, sender=("Zettelgarden", app.config['DEFAULT_SENDER']), recipients=[recipient], body=body)

# Send the email
with app.app_context():
Expand Down

0 comments on commit 6907233

Please sign in to comment.