aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-13 21:12:03 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-13 21:12:03 +0200
commit96e21ca065615c4ec530d15cde1732b6004a454d (patch)
tree9ce7d74b7dc8cac8e7b12ecc58d5623826ac94e1 /pyaggr3g470r
parentbugfix (diff)
downloadnewspipe-96e21ca065615c4ec530d15cde1732b6004a454d.tar.gz
newspipe-96e21ca065615c4ec530d15cde1732b6004a454d.tar.bz2
newspipe-96e21ca065615c4ec530d15cde1732b6004a454d.zip
Updated email message
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/emails.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/emails.py b/pyaggr3g470r/emails.py
index 61851f22..e9d3b418 100644
--- a/pyaggr3g470r/emails.py
+++ b/pyaggr3g470r/emails.py
@@ -67,9 +67,9 @@ def send_email(mfrom, mto, feed, article):
#
def new_account_notification(user):
try:
- html = """<html>\n<head>\n<title>[pyAggr3g470r] Account activation</title>\n</head>\n<body>\nYour account has been created. Clink on the following to confirm it:%s\n</body>\n</html>""" % \
+ plaintext = """Hello,\n\nYour account has been created. Click on the following link to confirm it:\n%s""" % \
(conf.PLATFORM_URL + 'confirm_account/' + user.activation_key)
- plaintext = utils.clear_string(html)
+ #plaintext = utils.clear_string(html)
message = PMMail(api_key = conf.POSTMARK_API_KEY,
bgstack15