From bcec6d4914027bf8f7461d98107d49830716eca3 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Mon, 24 Jun 2013 15:42:51 -0400 Subject: [PATCH] no smtp auth failures for you --- frontend/templates/kindle_config.html | 4 ++-- frontend/views.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/templates/kindle_config.html b/frontend/templates/kindle_config.html index 915113c9..b49ecb0d 100644 --- a/frontend/templates/kindle_config.html +++ b/frontend/templates/kindle_config.html @@ -36,12 +36,12 @@

You already have a Kindle email on file with Unglue.it: {{ kindle_email }} .

You can change it below.

- If you emailed yourself an Unglue.it ebook and got a message from Amazon that the sender is not in your approved email list, add kindle@gluejar.com to your Approved Personal Document Email List under Personal Document Settings. + If you emailed yourself an Unglue.it ebook and got a message from Amazon that the sender is not in your approved email list, add notices@gluejar.com to your Approved Personal Document Email List under Personal Document Settings.

{% endif %} {% else %}

- Before your device or app can receive emails from Unglue.it, you'll have to add kindle@gluejar.com to your Approved Personal Document Email List under Personal Document Settings. + Before your device or app can receive emails from Unglue.it, you'll have to add notices@gluejar.com to your Approved Personal Document Email List under Personal Document Settings.

Then, enter your Kindle email address below:

{% endif %} diff --git a/frontend/views.py b/frontend/views.py index 649d3f34..93096dd8 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -2600,7 +2600,7 @@ def send_to_kindle(request, kindle_ebook_id, javascript='0'): return local_response(request, javascript, 0) try: - email = EmailMessage(from_email='kindle@gluejar.com', + email = EmailMessage(from_email='notices@gluejar.com', to=[kindle_email]) email.attach(title + '.' + ebook.format, filehandle.read()) email.send()