Skip to content

Instantly share code, notes, and snippets.

@judell
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save judell/b45a77f789dd78a6a527 to your computer and use it in GitHub Desktop.
Save judell/b45a77f789dd78a6a527 to your computer and use it in GitHub Desktop.
reset email template
username = 'judell'
link = 'http://hypothes.is/ACTIVATION'
code = '12345'
domain = 'https://hypothes.is'
emailtext = """Hello {username},
Someone requested resetting your password. If it was
you, please reset your password with this reset code:
{code}
Alternatively you can reset your password by
clicking on this link:
{link}
If you don't want to change your password, please ignore this
email message.
Regards,
{domain}
"""
print emailtext.format(
username=username,
code=code,
link=link,
domain=domain)
"""
Hello judell,
Someone requested resetting your password. If it was
you, please reset your password with this reset code:
12345
Alternatively you can reset your password by
clicking on this link:
http://hypothes.is/ACTIVATION
If you don't want to change your password, please ignore this
email message.
Regards,
https://hypothes.is
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment