Send waitlist emails to the attendees, not the conference
authorMagnus Hagander <magnus@hagander.net>
Fri, 19 Oct 2018 12:57:24 +0000 (14:57 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 19 Oct 2018 12:57:24 +0000 (14:57 +0200)
Definitely backwards to send all the emails back to the organizer
instead of the attendees....

postgresqleu/confreg/views.py

index fc17899a98033baa33836fd16693b27daa4f1a34..3387b10b8cfa62dde9f518eae86c50dd4709310f 100644 (file)
@@ -2843,7 +2843,7 @@ def admin_waitlist_sendmail(request, urlname):
                                                msgbody += "\n\nThe current size of the waitlist is {0}.\n".format(tot)
 
                                        send_simple_mail(conference.contactaddr,
-                                                                        conference.contactaddr,
+                                                                        w.registration.email,
                                                                         u"[{0}] {1}".format(conference.conferencename, form.cleaned_data['subject']),
                                                                         msgbody,
                                                                         sendername=conference.conferencename,