Skip to content

Commit

Permalink
always send feedback email
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Jun 17, 2020
1 parent 14361b5 commit 2051a72
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions app/marketing/mails.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,15 +907,14 @@ def new_feedback(email, feedback):
from_email = settings.SERVER_EMAIL
subject = "New Feedback"
body = f"New feedback from {email}: {feedback}"
if not should_suppress_notification_email(to_email, 'admin'):
send_mail(
from_email,
to_email,
subject,
body,
from_name="No Reply from Gitcoin.co",
categories=['admin', func_name()],
)
send_mail(
from_email,
to_email,
subject,
body,
from_name="No Reply from Gitcoin.co",
categories=['admin', func_name()],
)


def gdpr_reconsent(email):
Expand Down

0 comments on commit 2051a72

Please sign in to comment.