Last active
August 29, 2015 14:19
-
-
Save judell/b45a77f789dd78a6a527 to your computer and use it in GitHub Desktop.
reset email template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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