aboutsummaryrefslogtreecommitdiff
path: root/newspipe/notifications/emails.py
diff options
context:
space:
mode:
Diffstat (limited to 'newspipe/notifications/emails.py')
-rw-r--r--newspipe/notifications/emails.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/newspipe/notifications/emails.py b/newspipe/notifications/emails.py
index 098c29bf..e1f2c272 100644
--- a/newspipe/notifications/emails.py
+++ b/newspipe/notifications/emails.py
@@ -46,13 +46,9 @@ def send_async_email(mfrom, mto, msg):
def send(*args, **kwargs):
"""
- This functions enables to send email through SendGrid
- or a SMTP server.
+ This functions enables to send email via different method.
"""
- if conf.ON_HEROKU:
- send_sendgrid(**kwargs)
- else:
- send_smtp(**kwargs)
+ send_smtp(**kwargs)
def send_smtp(to="", bcc="", subject="", plaintext="", html=""):
"""
bgstack15