summaryrefslogtreecommitdiff
path: root/workshop_app/send_mails.py
diff options
context:
space:
mode:
Diffstat (limited to 'workshop_app/send_mails.py')
-rw-r--r--workshop_app/send_mails.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/workshop_app/send_mails.py b/workshop_app/send_mails.py
index a4e1e52..9c3e732 100644
--- a/workshop_app/send_mails.py
+++ b/workshop_app/send_mails.py
@@ -267,7 +267,7 @@ def send_email( request, call_on,
subject = "FOSSEE Workshop booking confirmation on {0}".\
format(workshop_date)
- msg = EmailMultiAlternatives(subject, message, SENDER_EMAIL, [request.user.email])
+ msg = EmailMultiAlternatives(subject, message, SENDER_EMAIL, [other_email])
files = listdir(settings.MEDIA_ROOT)
for f in files:
@@ -344,9 +344,3 @@ def send_email( request, call_on,
format(workshop_date), message=message,
other_email=request.user.email
)
-
- else:
- message = "Issue at Workshop Booking App please check"
- send_mail("Issue At Workshop Booking App Mailing", message, SENDER_EMAIL,
- ['your developer id'], fail_silently=False)
-