Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: qzio/tododis
base: 7e5d43a755
...
head fork: qzio/tododis
compare: 5765850daf
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 6 additions and 7 deletions.
  1. +0 −1  TODO
  2. +6 −6 mails.py
View
1  TODO
@@ -1,4 +1,3 @@
-* cleanup and comment the code!
* test in mobile!
* possible adjustments
View
12 mails.py
@@ -11,10 +11,10 @@ def send_all(todolists, recipient):
for todo in todolists:
mail_body += "{0}\n".format(url_for('lists_show', namehash=todo.namehash, _external=True))
- msg = Message(mail_body,
- sender="no-reply@localhost",
- subject="Your todo lists",
+ msg = Message("Your todolists",
+ sender="no-reply@tododis.com",
recipients=[recipient.strip()])
+ msg.body = mail_body
try:
mail.send(msg)
@@ -30,10 +30,10 @@ def send_list(todolist, recipient):
namehash=todolist.namehash,
_external=True))
- msg = Message(mail_body,
- sender="no-reply@localhost",
- subject="A todo was shared with you",
+ msg = Message("A todo was shared with you",
+ sender="no-reply@tododis.com",
recipients=[recipient.strip()])
+ msg.body = mail_body
try:
mail.send(msg)

No commit comments for this range

Something went wrong with that request. Please try again.