aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/emails.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/emails.py')
-rw-r--r--pyaggr3g470r/emails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/emails.py b/pyaggr3g470r/emails.py
index 504e5d29..2bee64cf 100644
--- a/pyaggr3g470r/emails.py
+++ b/pyaggr3g470r/emails.py
@@ -72,7 +72,7 @@ def send_heroku(user=None, bcc="", subject="", plaintext=""):
try:
message = PMMail(api_key = conf.POSTMARK_API_KEY,
subject = subject,
- message.to = user.email,
+ to = user.email,
sender = conf.ADMIN_EMAIL,
text_body = plaintext)
if bcc != "" and None == user:
bgstack15